#0D204D

Closest named color: Oxford Blue (#1B263B). oklch(25.9% 0.087 264), rgb(13, 32, 77).

Aa

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

About this color

#0D204D is a dark, moderately saturated blue. In OKLCH its lightness is 26%, its chroma 0.087 and its hue 264°. Its hue sits on the cool side of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.046 away. White text reads best on it, at 15.77:1.

Hue familyBlues
Lightnessdark (26%)
Chromamoderately saturated (0.087)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.33:1
White text15.77:1

Values

HEX#0D204D
RGBrgb(13, 32, 77)
HSLhsl(222, 71%, 18%)
OKLCHoklch(25.9% 0.087 264)

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 #0D204D 15.77:1 AAA Lc -105.1 Preferred for body text
Black text on #0D204D 1.33:1 Fails Lc 0.0 Not readable
#0D204D text on white 15.77:1 AAA Lc 102.5 Preferred for body text
#0D204D text on black 1.33: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

    #C7DAFF

    oklch(88.6% 0.055 263.7)

  4. Step 300

    300

    #A1C0FF

    oklch(80.8% 0.096 264.1)

  5. Step 400

    400

    #6F9DFF

    oklch(70.7% 0.152 263.9)

  6. Step 500

    500

    #4A80FF

    oklch(63.1% 0.198 264.2)

  7. Step 600

    600

    #2963F6

    oklch(55.6% 0.228 263.9)

  8. Step 700

    700

    #1D50D7

    oklch(49.1% 0.214 264.1)

  9. Step 800

    800

    #1943AD

    oklch(42.7% 0.176 263.9)

  10. Step 900

    900

    #1A3A89

    oklch(37.7% 0.137 264.1)

  11. Step 950

    950 (this color)

    #0D204D

    oklch(25.9% 0.087 264)

Export this scale for Tailwind in the Tailwind colors tool

#0D204D 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)#02264F0.019
Deuteranopia (no green cones)#00204C0.013
Tritanopia (no blue cones)#002B330.068
Achromatopsia (no color)#2323230.087

Harmonies

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

Complementary

The opposite hue (180°).

  • #0D204D

    #0D204D

    oklch(25.9% 0.087 264)

  • #302100

    #302100

    oklch(25.9% 0.053 83.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0D204D

    #0D204D

    oklch(25.9% 0.087 264)

  • #00273A

    #00273A

    oklch(25.8% 0.055 235.3)

  • #271849

    #271849

    oklch(25.9% 0.087 293.5)

Open the analogous palette in the generator

Split complementary

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

  • #0D204D

    #0D204D

    oklch(25.9% 0.087 264)

  • #3B1900

    #3B1900

    oklch(25.9% 0.065 53.7)

  • #242600

    #242600

    oklch(25.8% 0.057 112.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0D204D

    #0D204D

    oklch(25.9% 0.087 264)

  • #450B0D

    #450B0D

    oklch(25.9% 0.087 24.1)

  • #002D04

    #002D04

    oklch(25.8% 0.083 144.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0D204D

    #0D204D

    oklch(25.9% 0.087 264)

  • #410B27

    #410B27

    oklch(25.9% 0.087 353.4)

  • #302100

    #302100

    oklch(25.9% 0.053 83.5)

  • #002B22

    #002B22

    oklch(25.8% 0.049 174.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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