#0C313C

Closest named color: Gunmetal (#293241). oklch(29.3% 0.045 221.4), rgb(12, 49, 60).

Aa

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

About this color

#0C313C is a dark, muted teal or cyan. In OKLCH its lightness is 29%, its chroma 0.045 and its hue 221°. Its hue sits on the cool side of the wheel. The nearest named color is Gunmetal (#293241), ΔE 0.037 away. White text reads best on it, at 13.81:1.

Hue familyTeals and cyans
Lightnessdark (29%)
Chromamuted (0.045)
Temperaturecool
Nearest nameGunmetal (#293241)
Black text1.52:1
White text13.81:1

Values

HEX#0C313C
RGBrgb(12, 49, 60)
HSLhsl(194, 67%, 14%)
OKLCHoklch(29.3% 0.045 221.4)

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 #0C313C 13.81:1 AAA Lc -103.3 Preferred for body text
Black text on #0C313C 1.52:1 Fails Lc 0.0 Not readable
#0C313C text on white 13.81:1 AAA Lc 100.2 Preferred for body text
#0C313C text on black 1.52: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

    #F1F7F9

    oklch(97.2% 0.007 219.6)

  2. Step 100

    100

    #DFECF1

    oklch(93.5% 0.015 222.7)

  3. Step 200

    200

    #C5DEE7

    oklch(88.5% 0.029 221.4)

  4. Step 300

    300

    #9BC9D9

    oklch(80.9% 0.053 221.2)

  5. Step 400

    400

    #5EADC7

    oklch(70.7% 0.086 221.7)

  6. Step 500

    500

    #1E98B8

    oklch(63.1% 0.109 221.1)

  7. Step 600

    600

    #00809E

    oklch(55.6% 0.103 221.9)

  8. Step 700

    700

    #006C85

    oklch(49.2% 0.09 221.2)

  9. Step 800

    800

    #00586D

    oklch(42.6% 0.078 221.3)

  10. Step 900

    900

    #00495C

    oklch(37.6% 0.07 222.6)

  11. Step 950

    950 (this color)

    #0C313C

    oklch(29.3% 0.045 221.4)

Export this scale for Tailwind in the Tailwind colors tool

#0C313C 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)#2A303D0.036
Deuteranopia (no green cones)#242B3C0.032
Tritanopia (no blue cones)#0035350.023
Achromatopsia (no color)#2D2D2D0.046

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C313C

    #0C313C

    oklch(29.3% 0.045 221.4)

  • #3F241A

    #3F241A

    oklch(29.3% 0.045 41)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C313C

    #0C313C

    oklch(29.3% 0.045 221.4)

  • #083332

    #083332

    oklch(29.3% 0.045 192.7)

  • #1A2D42

    #1A2D42

    oklch(29.2% 0.046 251.9)

Open the analogous palette in the generator

Split complementary

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

  • #0C313C

    #0C313C

    oklch(29.3% 0.045 221.4)

  • #402226

    #402226

    oklch(29.3% 0.046 11.7)

  • #3A2811

    #3A2811

    oklch(29.3% 0.045 71.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C313C

    #0C313C

    oklch(29.3% 0.045 221.4)

  • #3B2333

    #3B2333

    oklch(29.3% 0.045 340.1)

  • #312D10

    #312D10

    oklch(29.4% 0.045 101.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C313C

    #0C313C

    oklch(29.3% 0.045 221.4)

  • #33253D

    #33253D

    oklch(29.2% 0.046 310.4)

  • #3F241A

    #3F241A

    oklch(29.3% 0.045 41)

  • #243118

    #243118

    oklch(29.4% 0.046 131.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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