#0B205E

Closest named color: Midnight Blue (#191970). oklch(27.4% 0.114 265.1), rgb(11, 32, 94).

Aa

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

About this color

#0B205E is a dark, moderately saturated blue. In OKLCH its lightness is 27%, its chroma 0.114 and its hue 265°. Its hue sits on the cool side of the wheel. The nearest named color is Midnight Blue (#191970), ΔE 0.037 away. White text reads best on it, at 15.19:1.

Hue familyBlues
Lightnessdark (27%)
Chromamoderately saturated (0.114)
Temperaturecool
Nearest nameMidnight Blue (#191970)
Black text1.38:1
White text15.19:1

Values

HEX#0B205E
RGBrgb(11, 32, 94)
HSLhsl(225, 79%, 21%)
OKLCHoklch(27.4% 0.114 265.1)

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 #0B205E 15.19:1 AAA Lc -104.5 Preferred for body text
Black text on #0B205E 1.38:1 Fails Lc 0.0 Not readable
#0B205E text on white 15.19:1 AAA Lc 101.6 Preferred for body text
#0B205E text on black 1.38:1 Fails Lc 0.0 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 950.

  1. Step 50

    50

    #F1F6FF

    oklch(97.2% 0.013 262.4)

  2. Step 100

    100

    #E0EAFF

    oklch(93.6% 0.03 265.3)

  3. Step 200

    200

    #C7D9FF

    oklch(88.4% 0.056 265.2)

  4. Step 300

    300

    #A3C0FF

    oklch(80.9% 0.095 265.2)

  5. Step 400

    400

    #729CFF

    oklch(70.6% 0.153 265.4)

  6. Step 500

    500

    #4D7FFF

    oklch(63% 0.198 265.1)

  7. Step 600

    600

    #2A5EFF

    oklch(55.6% 0.245 265.1)

  8. Step 700

    700

    #123BFA

    oklch(49.1% 0.278 265)

  9. Step 800

    800

    #0F34CA

    oklch(42.8% 0.23 265)

  10. Step 900

    900

    #11319F

    oklch(37.7% 0.18 265.1)

  11. Step 950

    950 (this color)

    #0B205E

    oklch(27.4% 0.114 265.1)

Export this scale for Tailwind in the Tailwind colors tool

#0B205E 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)#002A600.027
Deuteranopia (no green cones)#00225D0.010
Tritanopia (no blue cones)#00303B0.088
Achromatopsia (no color)#2626260.114

Harmonies

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

Complementary

The opposite hue (180°).

  • #0B205E

    #0B205E

    oklch(27.4% 0.114 265.1)

  • #342500

    #342500

    oklch(27.5% 0.056 85.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0B205E

    #0B205E

    oklch(27.4% 0.114 265.1)

  • #002B40

    #002B40

    oklch(27.3% 0.059 236.1)

  • #2E1458

    #2E1458

    oklch(27.5% 0.114 295.3)

Open the analogous palette in the generator

Split complementary

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

  • #0B205E

    #0B205E

    oklch(27.4% 0.114 265.1)

  • #401D00

    #401D00

    oklch(27.5% 0.068 55.7)

  • #272B00

    #272B00

    oklch(27.6% 0.062 115.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0B205E

    #0B205E

    oklch(27.4% 0.114 265.1)

  • #510007

    #510007

    oklch(27.4% 0.111 24.8)

  • #003207

    #003207

    oklch(27.6% 0.087 145)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0B205E

    #0B205E

    oklch(27.4% 0.114 265.1)

  • #4D002A

    #4D002A

    oklch(27.4% 0.113 355.2)

  • #342500

    #342500

    oklch(27.5% 0.056 85.5)

  • #003026

    #003026

    oklch(27.6% 0.052 174.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #0B205E 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.