#0C2839

Closest named color: Oxford Blue (#1B263B). oklch(26.5% 0.046 238.7), rgb(12, 40, 57).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (26%)
Chromamuted (0.046)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.37:1
White text15.23:1

Values

HEX#0C2839
RGBrgb(12, 40, 57)
HSLhsl(203, 65%, 14%)
OKLCHoklch(26.5% 0.046 238.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 #0C2839 15.23:1 AAA Lc -104.8 Preferred for body text
Black text on #0C2839 1.37:1 Fails Lc 0.0 Not readable
#0C2839 text on white 15.23:1 AAA Lc 102.0 Preferred for body text
#0C2839 text on black 1.37: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

    #F1F6FA

    oklch(97.1% 0.008 241.7)

  2. Step 100

    100

    #E1ECF3

    oklch(93.7% 0.015 235.4)

  3. Step 200

    200

    #C8DCEB

    oklch(88.4% 0.03 240.2)

  4. Step 300

    300

    #A1C6E0

    oklch(80.8% 0.054 239)

  5. Step 400

    400

    #6BA8D1

    oklch(70.6% 0.087 239.1)

  6. Step 500

    500

    #3D92C5

    oklch(63.1% 0.112 238.6)

  7. Step 600

    600

    #0C7BB2

    oklch(55.5% 0.122 239.1)

  8. Step 700

    700

    #006898

    oklch(49.2% 0.11 238.7)

  9. Step 800

    800

    #05557C

    oklch(42.7% 0.093 238.5)

  10. Step 900

    900

    #134664

    oklch(37.6% 0.073 239.3)

  11. Step 950

    950 (this color)

    #0C2839

    oklch(26.5% 0.046 238.7)

Export this scale for Tailwind in the Tailwind colors tool

#0C2839 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)#20283A0.025
Deuteranopia (no green cones)#1A24390.020
Tritanopia (no blue cones)#002C2E0.031
Achromatopsia (no color)#2525250.046

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C2839

    #0C2839

    oklch(26.5% 0.046 238.7)

  • #361F0C

    #361F0C

    oklch(26.5% 0.047 58.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C2839

    #0C2839

    oklch(26.5% 0.046 238.7)

  • #002B31

    #002B31

    oklch(26.5% 0.046 209.1)

  • #1C243C

    #1C243C

    oklch(26.5% 0.047 269.1)

Open the analogous palette in the generator

Split complementary

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

  • #0C2839

    #0C2839

    oklch(26.5% 0.046 238.7)

  • #391C18

    #391C18

    oklch(26.6% 0.047 28.8)

  • #2E2407

    #2E2407

    oklch(26.5% 0.046 89.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C2839

    #0C2839

    oklch(26.5% 0.046 238.7)

  • #371B25

    #371B25

    oklch(26.5% 0.046 357.9)

  • #23280C

    #23280C

    oklch(26.4% 0.046 118.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C2839

    #0C2839

    oklch(26.5% 0.046 238.7)

  • #311D30

    #311D30

    oklch(26.5% 0.045 328.5)

  • #361F0C

    #361F0C

    oklch(26.5% 0.047 58.3)

  • #142B18

    #142B18

    oklch(26.4% 0.046 148.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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