#0C2345

Closest named color: Oxford Blue (#1B263B). oklch(25.9% 0.07 258.3), rgb(12, 35, 69).

Aa

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

About this color

#0C2345 is a dark, moderately saturated blue. In OKLCH its lightness is 26%, its chroma 0.070 and its hue 258°. 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 15.64:1.

Hue familyBlues
Lightnessdark (26%)
Chromamoderately saturated (0.070)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.34:1
White text15.64:1

Values

HEX#0C2345
RGBrgb(12, 35, 69)
HSLhsl(216, 70%, 16%)
OKLCHoklch(25.9% 0.07 258.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 #0C2345 15.64:1 AAA Lc -105.1 Preferred for body text
Black text on #0C2345 1.34:1 Fails Lc 0.0 Not readable
#0C2345 text on white 15.64:1 AAA Lc 102.4 Preferred for body text
#0C2345 text on black 1.34: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

    #F1F6FD

    oklch(97.1% 0.011 256.7)

  2. Step 100

    100

    #E0EBFA

    oklch(93.6% 0.024 256.1)

  3. Step 200

    200

    #C7DBF8

    oklch(88.6% 0.046 257.6)

  4. Step 300

    300

    #A0C3F7

    oklch(81% 0.083 258.1)

  5. Step 400

    400

    #6BA1F3

    oklch(70.7% 0.134 258.5)

  6. Step 500

    500

    #4287EE

    oklch(63.1% 0.17 258.4)

  7. Step 600

    600

    #1F6EDC

    oklch(55.5% 0.184 258.3)

  8. Step 700

    700

    #115BBF

    oklch(49% 0.172 258.4)

  9. Step 800

    800

    #124B9B

    oklch(42.7% 0.143 258.4)

  10. Step 900

    900

    #17407B

    oklch(37.8% 0.11 258.1)

  11. Step 950

    950 (this color)

    #0C2345

    oklch(25.9% 0.07 258.3)

Export this scale for Tailwind in the Tailwind colors tool

#0C2345 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)#1226460.013
Deuteranopia (no green cones)#0721440.009
Tritanopia (no blue cones)#002B300.055
Achromatopsia (no color)#2323230.070

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C2345

    #0C2345

    oklch(25.9% 0.07 258.3)

  • #322000

    #322000

    oklch(26% 0.054 78.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C2345

    #0C2345

    oklch(25.9% 0.07 258.3)

  • #002837

    #002837

    oklch(25.9% 0.051 228.6)

  • #231D43

    #231D43

    oklch(26% 0.069 287.9)

Open the analogous palette in the generator

Split complementary

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

  • #0C2345

    #0C2345

    oklch(25.9% 0.07 258.3)

  • #3E1700

    #3E1700

    oklch(26% 0.07 48.6)

  • #262600

    #262600

    oklch(26% 0.057 109.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C2345

    #0C2345

    oklch(25.9% 0.07 258.3)

  • #3F1216

    #3F1216

    oklch(25.8% 0.07 18.3)

  • #102B06

    #102B06

    oklch(25.8% 0.069 138.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C2345

    #0C2345

    oklch(25.9% 0.07 258.3)

  • #3B132A

    #3B132A

    oklch(25.9% 0.07 347.5)

  • #322000

    #322000

    oklch(26% 0.054 78.1)

  • #002C1F

    #002C1F

    oklch(26% 0.053 167.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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