#0C1034

Closest named color: Navy Blue (#001146). oklch(19.6% 0.07 273.2), rgb(12, 16, 52).

Aa

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

About this color

#0C1034 is a very dark, moderately saturated blue. In OKLCH its lightness is 20%, its chroma 0.070 and its hue 273°. Its hue sits on the cool side of the wheel. The nearest named color is Navy Blue (#001146), ΔE 0.038 away. White text reads best on it, at 18.43:1.

Hue familyBlues
Lightnessvery dark (20%)
Chromamoderately saturated (0.070)
Temperaturecool
Nearest nameNavy Blue (#001146)
Black text1.13:1
White text18.43:1

Values

HEX#0C1034
RGBrgb(12, 16, 52)
HSLhsl(234, 63%, 13%)
OKLCHoklch(19.6% 0.07 273.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 #0C1034 18.43:1 AAA Lc -107.0 Preferred for body text
Black text on #0C1034 1.13:1 Fails Lc 0.0 Not readable
#0C1034 text on white 18.43:1 AAA Lc 104.9 Preferred for body text
#0C1034 text on black 1.13: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

    #F3F5FD

    oklch(97.1% 0.011 274.9)

  2. Step 100

    100

    #E4E9FB

    oklch(93.6% 0.025 273.5)

  3. Step 200

    200

    #CFD8F9

    oklch(88.6% 0.047 273.4)

  4. Step 300

    300

    #AFBEF7

    oklch(81% 0.082 273)

  5. Step 400

    400

    #8699F3

    oklch(70.6% 0.133 273.5)

  6. Step 500

    500

    #6A7DEF

    oklch(63.1% 0.171 273.4)

  7. Step 600

    600

    #5463DD

    oklch(55.5% 0.185 273.5)

  8. Step 700

    700

    #4551C0

    oklch(49% 0.172 273.5)

  9. Step 800

    800

    #38439B

    oklch(42.6% 0.143 273.4)

  10. Step 900

    900

    #303A7B

    oklch(37.7% 0.11 273.4)

  11. Step 950

    950 (this color)

    #0C1034

    oklch(19.6% 0.07 273.2)

Export this scale for Tailwind in the Tailwind colors tool

#0C1034 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)#0016350.023
Deuteranopia (no green cones)#0012330.019
Tritanopia (no blue cones)#00191F0.060
Achromatopsia (no color)#1414140.070

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C1034

    #0C1034

    oklch(19.6% 0.07 273.2)

  • #1B1400

    #1B1400

    oklch(19.4% 0.04 92.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C1034

    #0C1034

    oklch(19.6% 0.07 273.2)

  • #001729

    #001729

    oklch(19.7% 0.048 243.3)

  • #1C0A2E

    #1C0A2E

    oklch(19.6% 0.07 303.6)

Open the analogous palette in the generator

Split complementary

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

  • #0C1034

    #0C1034

    oklch(19.6% 0.07 273.2)

  • #231000

    #231000

    oklch(19.7% 0.045 63.4)

  • #111800

    #111800

    oklch(19.5% 0.048 122.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C1034

    #0C1034

    oklch(19.6% 0.07 273.2)

  • #2E0400

    #2E0400

    oklch(19.6% 0.071 33.8)

  • #001B0A

    #001B0A

    oklch(19.5% 0.049 154)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C1034

    #0C1034

    oklch(19.6% 0.07 273.2)

  • #2C0312

    #2C0312

    oklch(19.5% 0.07 2.8)

  • #1B1400

    #1B1400

    oklch(19.4% 0.04 92.7)

  • #001A17

    #001A17

    oklch(19.6% 0.035 184.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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