#0C284D

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

Aa

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

About this color

#0C284D 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.036 away. White text reads best on it, at 14.72:1.

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

Values

HEX#0C284D
RGBrgb(12, 40, 77)
HSLhsl(214, 73%, 17%)
OKLCHoklch(27.9% 0.076 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 #0C284D 14.72:1 AAA Lc -104.2 Preferred for body text
Black text on #0C284D 1.42:1 Fails Lc 0.0 Not readable
#0C284D text on white 14.72:1 AAA Lc 101.3 Preferred for body text
#0C284D 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

    #C4DBFB

    oklch(88.5% 0.051 256.7)

  4. Step 300

    300

    #9BC3FB

    oklch(80.9% 0.091 256.9)

  5. Step 400

    400

    #62A2F9

    oklch(70.8% 0.144 256.5)

  6. Step 500

    500

    #3287F6

    oklch(63.1% 0.185 256.8)

  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

    #0C407F

    oklch(37.8% 0.119 256.4)

  11. Step 950

    950 (this color)

    #0C284D

    oklch(27.9% 0.076 256.7)

Export this scale for Tailwind in the Tailwind colors tool

#0C284D 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.010
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°).

  • #0C284D

    #0C284D

    oklch(27.9% 0.076 256.7)

  • #382400

    #382400

    oklch(27.8% 0.058 77.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C284D

    #0C284D

    oklch(27.9% 0.076 256.7)

  • #002D3D

    #002D3D

    oklch(27.7% 0.054 228)

  • #27214C

    #27214C

    oklch(28% 0.077 286.7)

Open the analogous palette in the generator

Split complementary

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

  • #0C284D

    #0C284D

    oklch(27.9% 0.076 256.7)

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

  • #0C284D

    #0C284D

    oklch(27.9% 0.076 256.7)

  • #47151B

    #47151B

    oklch(27.9% 0.076 16.5)

  • #153005

    #153005

    oklch(27.7% 0.075 136.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C284D

    #0C284D

    oklch(27.9% 0.076 256.7)

  • #421630

    #421630

    oklch(27.9% 0.076 346.7)

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

Similar named colors

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

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