#0D204C

Closest named color: Oxford Blue (#1B263B). oklch(25.8% 0.085 263.8), rgb(13, 32, 76).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (26%)
Chromamoderately saturated (0.085)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.32:1
White text15.81:1

Values

HEX#0D204C
RGBrgb(13, 32, 76)
HSLhsl(222, 71%, 17%)
OKLCHoklch(25.8% 0.085 263.8)

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 #0D204C 15.81:1 AAA Lc -105.2 Preferred for body text
Black text on #0D204C 1.32:1 Fails Lc 0.0 Not readable
#0D204C text on white 15.81:1 AAA Lc 102.5 Preferred for body text
#0D204C text on black 1.32: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

    #E0EAFE

    oklch(93.6% 0.029 264.4)

  3. Step 200

    200

    #C6DAFF

    oklch(88.5% 0.056 262.8)

  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

    #4980FF

    oklch(63% 0.198 264)

  7. Step 600

    600

    #2A64F4

    oklch(55.7% 0.224 263.8)

  8. Step 700

    700

    #1D51D4

    oklch(49% 0.209 263.8)

  9. Step 800

    800

    #1A44AC

    oklch(42.8% 0.173 263.8)

  10. Step 900

    900

    #1A3B88

    oklch(37.8% 0.135 263.7)

  11. Step 950

    950 (this color)

    #0D204C

    oklch(25.8% 0.085 263.8)

Export this scale for Tailwind in the Tailwind colors tool

#0D204C 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)#03264E0.019
Deuteranopia (no green cones)#00204B0.013
Tritanopia (no blue cones)#002B320.068
Achromatopsia (no color)#2323230.085

Harmonies

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

Complementary

The opposite hue (180°).

  • #0D204C

    #0D204C

    oklch(25.8% 0.085 263.8)

  • #2F2100

    #2F2100

    oklch(25.8% 0.053 85.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0D204C

    #0D204C

    oklch(25.8% 0.085 263.8)

  • #002739

    #002739

    oklch(25.7% 0.054 233.9)

  • #271848

    #271848

    oklch(25.8% 0.086 294)

Open the analogous palette in the generator

Split complementary

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

  • #0D204C

    #0D204C

    oklch(25.8% 0.085 263.8)

  • #3B1900

    #3B1900

    oklch(25.9% 0.065 53.7)

  • #232600

    #232600

    oklch(25.7% 0.058 114.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0D204C

    #0D204C

    oklch(25.8% 0.085 263.8)

  • #440C0E

    #440C0E

    oklch(25.8% 0.085 23.7)

  • #002D03

    #002D03

    oklch(25.8% 0.084 143.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0D204C

    #0D204C

    oklch(25.8% 0.085 263.8)

  • #400C26

    #400C26

    oklch(25.7% 0.085 354.2)

  • #2F2100

    #2F2100

    oklch(25.8% 0.053 85.2)

  • #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 #0D204C, closest first.

Similar named colors

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

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