#0D284C

Closest named color: Oxford Blue (#1B263B). oklch(27.8% 0.074 256.7), rgb(13, 40, 76).

Aa

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

About this color

#0D284C is a dark, moderately saturated blue. In OKLCH its lightness is 28%, its chroma 0.074 and its hue 257°. Its hue sits on the cool side of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.034 away. White text reads best on it, at 14.73:1.

Hue familyBlues
Lightnessdark (28%)
Chromamoderately saturated (0.074)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.42:1
White text14.73:1

Values

HEX#0D284C
RGBrgb(13, 40, 76)
HSLhsl(214, 71%, 17%)
OKLCHoklch(27.8% 0.074 256.7)

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 #0D284C 14.73:1 AAA Lc -104.2 Preferred for body text
Black text on #0D284C 1.42:1 Fails Lc 0.0 Not readable
#0D284C text on white 14.73:1 AAA Lc 101.3 Preferred for body text
#0D284C text on black 1.42: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

    #F0F6FE

    oklch(97.1% 0.012 255.5)

  2. Step 100

    100

    #DFEBFB

    oklch(93.6% 0.025 255.6)

  3. Step 200

    200

    #C5DBFA

    oklch(88.5% 0.049 256.9)

  4. Step 300

    300

    #9CC3F9

    oklch(80.9% 0.088 256.6)

  5. Step 400

    400

    #64A2F7

    oklch(70.8% 0.141 256.6)

  6. Step 500

    500

    #3588F3

    oklch(63.2% 0.179 256.5)

  7. Step 600

    600

    #006EE2

    oklch(55.6% 0.196 256.8)

  8. Step 700

    700

    #005CBF

    oklch(49% 0.172 256.8)

  9. Step 800

    800

    #004B9E

    oklch(42.6% 0.15 256.7)

  10. Step 900

    900

    #0E407E

    oklch(37.7% 0.117 256.5)

  11. Step 950

    950 (this color)

    #0D284C

    oklch(27.8% 0.074 256.7)

Export this scale for Tailwind in the Tailwind colors tool

#0D284C 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)#162B4D0.015
Deuteranopia (no green cones)#0B254B0.010
Tritanopia (no blue cones)#0030360.056
Achromatopsia (no color)#2828280.074

Harmonies

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

Complementary

The opposite hue (180°).

  • #0D284C

    #0D284C

    oklch(27.8% 0.074 256.7)

  • #382400

    #382400

    oklch(27.8% 0.058 77.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0D284C

    #0D284C

    oklch(27.8% 0.074 256.7)

  • #002D3D

    #002D3D

    oklch(27.7% 0.054 228)

  • #27214B

    #27214B

    oklch(27.9% 0.075 287)

Open the analogous palette in the generator

Split complementary

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

  • #0D284C

    #0D284C

    oklch(27.8% 0.074 256.7)

  • #451A02

    #451A02

    oklch(27.9% 0.075 46.5)

  • #2C2A00

    #2C2A00

    oklch(27.8% 0.06 106.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0D284C

    #0D284C

    oklch(27.8% 0.074 256.7)

  • #46161B

    #46161B

    oklch(27.9% 0.074 17.1)

  • #153006

    #153006

    oklch(27.7% 0.074 136.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0D284C

    #0D284C

    oklch(27.8% 0.074 256.7)

  • #411730

    #411730

    oklch(27.9% 0.074 346.2)

  • #382400

    #382400

    oklch(27.8% 0.058 77.5)

  • #003122

    #003122

    oklch(27.8% 0.057 166.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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