#0B387F

Closest named color: Twilight Blue (#0A437A). oklch(35.9% 0.129 259.9), rgb(11, 56, 127).

Aa

White text reads best on this color (11.13:1).

About this color

#0B387F is a dark, moderately saturated blue. In OKLCH its lightness is 36%, its chroma 0.129 and its hue 260°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight Blue (#0A437A), ΔE 0.034 away. White text reads best on it, at 11.13:1.

Hue familyBlues
Lightnessdark (36%)
Chromamoderately saturated (0.129)
Temperaturecool
Nearest nameTwilight Blue (#0A437A)
Black text1.88:1
White text11.13:1

Values

HEX#0B387F
RGBrgb(11, 56, 127)
HSLhsl(217, 84%, 27%)
OKLCHoklch(35.9% 0.129 259.9)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #0B387F 11.13:1 AAA Lc -99.0 Preferred for body text
Black text on #0B387F 1.88:1 Fails Lc 8.8 Not readable
#0B387F text on white 11.13:1 AAA Lc 95.1 Preferred for body text
#0B387F text on black 1.88:1 Fails Lc -7.5 Not readable

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 900.

  1. Step 50

    50

    #F0F6FE

    oklch(97.1% 0.012 255.5)

  2. Step 100

    100

    #DFEBFD

    oklch(93.6% 0.028 258.4)

  3. Step 200

    200

    #C5DAFE

    oklch(88.4% 0.055 261.2)

  4. Step 300

    300

    #9CC2FF

    oklch(80.9% 0.096 259.7)

  5. Step 400

    400

    #659FFF

    oklch(70.6% 0.154 260)

  6. Step 500

    500

    #3883FF

    oklch(63% 0.199 260)

  7. Step 600

    600

    #0F69EE

    oklch(55.6% 0.215 259.9)

  8. Step 700

    700

    #0056CE

    oklch(49% 0.199 259.9)

  9. Step 800

    800

    #0747A8

    oklch(42.7% 0.167 260.1)

  10. Step 900

    900 (this color)

    #0B387F

    oklch(35.9% 0.129 259.9)

  11. Step 950

    950

    #0C254E

    oklch(27.2% 0.082 259.9)

Export this scale for Tailwind in the Tailwind colors tool

#0B387F with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#0041810.025
Deuteranopia (no green cones)#00377E0.007
Tritanopia (no blue cones)#004A550.100
Achromatopsia (no color)#3B3B3B0.130

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #0B387F

    #0B387F

    oklch(35.9% 0.129 259.9)

  • #513800

    #513800

    oklch(36% 0.074 80.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0B387F

    #0B387F

    oklch(35.9% 0.129 259.9)

  • #00435B

    #00435B

    oklch(35.9% 0.072 230.3)

  • #3F2A7A

    #3F2A7A

    oklch(35.8% 0.13 290.4)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #0B387F

    #0B387F

    oklch(35.9% 0.129 259.9)

  • #632A00

    #632A00

    oklch(35.9% 0.096 49.5)

  • #404000

    #404000

    oklch(36% 0.078 109.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0B387F

    #0B387F

    oklch(35.9% 0.129 259.9)

  • #72101F

    #72101F

    oklch(36% 0.13 19.6)

  • #124A00

    #124A00

    oklch(35.9% 0.115 139.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0B387F

    #0B387F

    oklch(35.9% 0.129 259.9)

  • #6A1346

    #6A1346

    oklch(35.8% 0.13 350)

  • #513800

    #513800

    oklch(36% 0.074 80.6)

  • #004937

    #004937

    oklch(36% 0.072 169.5)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #0B387F, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #0B387F in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.