#0D284D

Closest named color: Oxford Blue (#1B263B). oklch(27.9% 0.076 257.2), rgb(13, 40, 77).

Aa

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

About this color

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

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

Values

HEX#0D284D
RGBrgb(13, 40, 77)
HSLhsl(215, 71%, 18%)
OKLCHoklch(27.9% 0.076 257.2)

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

    #DFEBFC

    oklch(93.6% 0.026 257)

  3. Step 200

    200

    #C5DBFB

    oklch(88.5% 0.05 257.7)

  4. Step 300

    300

    #9CC3FB

    oklch(80.9% 0.09 257.4)

  5. Step 400

    400

    #64A1F8

    oklch(70.6% 0.143 257.4)

  6. Step 500

    500

    #3587F5

    oklch(63.1% 0.183 257.1)

  7. Step 600

    600

    #006DE4

    oklch(55.5% 0.199 257.3)

  8. Step 700

    700

    #005CC1

    oklch(49.2% 0.175 257.1)

  9. Step 800

    800

    #004BA0

    oklch(42.8% 0.152 257.1)

  10. Step 900

    900

    #0E3F7F

    oklch(37.6% 0.12 257.3)

  11. Step 950

    950 (this color)

    #0D284D

    oklch(27.9% 0.076 257.2)

Export this scale for Tailwind in the Tailwind colors tool

#0D284D 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)#152B4E0.014
Deuteranopia (no green cones)#09254C0.011
Tritanopia (no blue cones)#0031360.060
Achromatopsia (no color)#2828280.076

Harmonies

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

Complementary

The opposite hue (180°).

  • #0D284D

    #0D284D

    oklch(27.9% 0.076 257.2)

  • #382400

    #382400

    oklch(27.8% 0.058 77.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0D284D

    #0D284D

    oklch(27.9% 0.076 257.2)

  • #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°).

  • #0D284D

    #0D284D

    oklch(27.9% 0.076 257.2)

  • #451A01

    #451A01

    oklch(27.9% 0.075 47.3)

  • #2C2A00

    #2C2A00

    oklch(27.8% 0.06 106.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0D284D

    #0D284D

    oklch(27.9% 0.076 257.2)

  • #47151B

    #47151B

    oklch(27.9% 0.076 16.5)

  • #143106

    #143106

    oklch(28% 0.076 137.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0D284D

    #0D284D

    oklch(27.9% 0.076 257.2)

  • #421630

    #421630

    oklch(27.9% 0.076 346.7)

  • #382400

    #382400

    oklch(27.8% 0.058 77.5)

  • #003123

    #003123

    oklch(27.8% 0.056 168)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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