#0C313F

Closest named color: Gunmetal (#293241). oklch(29.4% 0.048 227.3), rgb(12, 49, 63).

Aa

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

About this color

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

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

Values

HEX#0C313F
RGBrgb(12, 49, 63)
HSLhsl(196, 68%, 15%)
OKLCHoklch(29.4% 0.048 227.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 #0C313F 13.75:1 AAA Lc -103.2 Preferred for body text
Black text on #0C313F 1.52:1 Fails Lc 0.0 Not readable
#0C313F text on white 13.75:1 AAA Lc 100.1 Preferred for body text
#0C313F 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

    #F0F7F9

    oklch(97.1% 0.008 216.6)

  2. Step 100

    100

    #DFECF3

    oklch(93.5% 0.017 230.9)

  3. Step 200

    200

    #C4DEEA

    oklch(88.5% 0.032 227.3)

  4. Step 300

    300

    #9AC9DD

    oklch(80.9% 0.057 225.9)

  5. Step 400

    400

    #5DACCD

    oklch(70.7% 0.091 227.4)

  6. Step 500

    500

    #1B97C0

    oklch(63.2% 0.116 227)

  7. Step 600

    600

    #007FA4

    oklch(55.6% 0.108 227.1)

  8. Step 700

    700

    #006B8A

    oklch(49.2% 0.095 226.5)

  9. Step 800

    800

    #005772

    oklch(42.6% 0.083 227.6)

  10. Step 900

    900

    #004960

    oklch(37.8% 0.073 227.3)

  11. Step 950

    950 (this color)

    #0C313F

    oklch(29.4% 0.048 227.3)

Export this scale for Tailwind in the Tailwind colors tool

#0C313F 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)#2A30400.036
Deuteranopia (no green cones)#232B3F0.031
Tritanopia (no blue cones)#0035360.026
Achromatopsia (no color)#2D2D2D0.048

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C313F

    #0C313F

    oklch(29.4% 0.048 227.3)

  • #402517

    #402517

    oklch(29.6% 0.047 47.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C313F

    #0C313F

    oklch(29.4% 0.048 227.3)

  • #033435

    #033435

    oklch(29.6% 0.048 197)

  • #1D2D44

    #1D2D44

    oklch(29.5% 0.047 257.4)

Open the analogous palette in the generator

Split complementary

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

  • #0C313F

    #0C313F

    oklch(29.4% 0.048 227.3)

  • #412224

    #412224

    oklch(29.4% 0.048 16.3)

  • #3A290E

    #3A290E

    oklch(29.5% 0.048 76.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C313F

    #0C313F

    oklch(29.4% 0.048 227.3)

  • #3E2231

    #3E2231

    oklch(29.4% 0.049 347.2)

  • #2F2E0F

    #2F2E0F

    oklch(29.4% 0.048 107.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C313F

    #0C313F

    oklch(29.4% 0.048 227.3)

  • #36253C

    #36253C

    oklch(29.5% 0.047 317)

  • #402517

    #402517

    oklch(29.6% 0.047 47.7)

  • #21321A

    #21321A

    oklch(29.5% 0.047 137)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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