#0C2E45

Closest named color: Oxford Blue (#1B263B). oklch(28.9% 0.057 242.3), rgb(12, 46, 69).

Aa

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

About this color

#0C2E45 is a dark, muted blue. In OKLCH its lightness is 29%, its chroma 0.057 and its hue 242°. Its hue sits on the cool side of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.030 away. White text reads best on it, at 14.07:1.

Hue familyBlues
Lightnessdark (29%)
Chromamuted (0.057)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.49:1
White text14.07:1

Values

HEX#0C2E45
RGBrgb(12, 46, 69)
HSLhsl(204, 70%, 16%)
OKLCHoklch(28.9% 0.057 242.3)

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 #0C2E45 14.07:1 AAA Lc -103.6 Preferred for body text
Black text on #0C2E45 1.49:1 Fails Lc 0.0 Not readable
#0C2E45 text on white 14.07:1 AAA Lc 100.5 Preferred for body text
#0C2E45 text on black 1.49: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

    #F0F6FB

    oklch(97% 0.009 242.8)

  2. Step 100

    100

    #DFECF6

    oklch(93.6% 0.019 240.7)

  3. Step 200

    200

    #C4DDF0

    oklch(88.5% 0.037 240.7)

  4. Step 300

    300

    #9BC7E9

    oklch(81% 0.067 241.8)

  5. Step 400

    400

    #5FA8DE

    oklch(70.6% 0.108 242.4)

  6. Step 500

    500

    #2491D5

    oklch(63% 0.138 242.4)

  7. Step 600

    600

    #007ABA

    oklch(55.6% 0.133 242.5)

  8. Step 700

    700

    #00669D

    oklch(49% 0.118 242.7)

  9. Step 800

    800

    #005482

    oklch(42.8% 0.102 242.4)

  10. Step 900

    900

    #00466D

    oklch(37.8% 0.09 242.2)

  11. Step 950

    950 (this color)

    #0C2E45

    oklch(28.9% 0.057 242.3)

Export this scale for Tailwind in the Tailwind colors tool

#0C2E45 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)#232E460.027
Deuteranopia (no green cones)#1C29450.022
Tritanopia (no blue cones)#0034360.041
Achromatopsia (no color)#2B2B2B0.057

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C2E45

    #0C2E45

    oklch(28.9% 0.057 242.3)

  • #3F2408

    #3F2408

    oklch(29% 0.057 62.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C2E45

    #0C2E45

    oklch(28.9% 0.057 242.3)

  • #00313A

    #00313A

    oklch(28.8% 0.051 213.9)

  • #212947

    #212947

    oklch(28.9% 0.056 271.2)

Open the analogous palette in the generator

Split complementary

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

  • #0C2E45

    #0C2E45

    oklch(28.9% 0.057 242.3)

  • #431F18

    #431F18

    oklch(28.8% 0.057 32.2)

  • #352A02

    #352A02

    oklch(28.9% 0.057 92.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C2E45

    #0C2E45

    oklch(28.9% 0.057 242.3)

  • #421E29

    #421E29

    oklch(29% 0.057 1.9)

  • #262F0C

    #262F0C

    oklch(28.8% 0.056 122.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C2E45

    #0C2E45

    oklch(28.9% 0.057 242.3)

  • #3C2038

    #3C2038

    oklch(29.1% 0.057 332.3)

  • #3F2408

    #3F2408

    oklch(29% 0.057 62.6)

  • #11331D

    #11331D

    oklch(28.9% 0.057 152.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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