#0C1330

Closest named color: Rich Black (#0D1B2A). oklch(19.9% 0.058 270.2), rgb(12, 19, 48).

Aa

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

About this color

#0C1330 is a very dark, muted blue. In OKLCH its lightness is 20%, its chroma 0.058 and its hue 270°. Its hue sits on the cool side of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.033 away. White text reads best on it, at 18.23:1.

Hue familyBlues
Lightnessvery dark (20%)
Chromamuted (0.058)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.15:1
White text18.23:1

Values

HEX#0C1330
RGBrgb(12, 19, 48)
HSLhsl(228, 60%, 12%)
OKLCHoklch(19.9% 0.058 270.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 #0C1330 18.23:1 AAA Lc -106.9 Preferred for body text
Black text on #0C1330 1.15:1 Fails Lc 0.0 Not readable
#0C1330 text on white 18.23:1 AAA Lc 104.8 Preferred for body text
#0C1330 text on black 1.15: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

    #F3F5FC

    oklch(97.1% 0.01 273.4)

  2. Step 100

    100

    #E4EAF8

    oklch(93.7% 0.02 267.3)

  3. Step 200

    200

    #CFD9F3

    oklch(88.6% 0.037 268.9)

  4. Step 300

    300

    #AFBFEE

    oklch(80.9% 0.069 270.1)

  5. Step 400

    400

    #869DE6

    oklch(70.8% 0.11 270.1)

  6. Step 500

    500

    #6983DF

    oklch(63.2% 0.142 270.1)

  7. Step 600

    600

    #516ACC

    oklch(55.5% 0.154 270)

  8. Step 700

    700

    #4258B1

    oklch(49.1% 0.143 270)

  9. Step 800

    800

    #37488F

    oklch(42.6% 0.119 270.5)

  10. Step 900

    900

    #2F3D72

    oklch(37.6% 0.092 270.3)

  11. Step 950

    950 (this color)

    #0C1330

    oklch(19.9% 0.058 270.2)

Export this scale for Tailwind in the Tailwind colors tool

#0C1330 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)#0417310.016
Deuteranopia (no green cones)#01142F0.017
Tritanopia (no blue cones)#001A1F0.050
Achromatopsia (no color)#1515150.059

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C1330

    #0C1330

    oklch(19.9% 0.058 270.2)

  • #1D1500

    #1D1500

    oklch(20% 0.041 90.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C1330

    #0C1330

    oklch(19.9% 0.058 270.2)

  • #001828

    #001828

    oklch(19.9% 0.045 239.6)

  • #1A0E2C

    #1A0E2C

    oklch(19.9% 0.059 299.5)

Open the analogous palette in the generator

Split complementary

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

  • #0C1330

    #0C1330

    oklch(19.9% 0.058 270.2)

  • #251000

    #251000

    oklch(20% 0.047 60.3)

  • #131900

    #131900

    oklch(20% 0.048 120.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C1330

    #0C1330

    oklch(19.9% 0.058 270.2)

  • #2B0905

    #2B0905

    oklch(20% 0.058 31)

  • #001C08

    #001C08

    oklch(19.8% 0.053 150.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C1330

    #0C1330

    oklch(19.9% 0.058 270.2)

  • #2A0815

    #2A0815

    oklch(20.1% 0.058 0.1)

  • #1D1500

    #1D1500

    oklch(20% 0.041 90.8)

  • #001B17

    #001B17

    oklch(19.9% 0.036 181.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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