#0C3545

Closest named color: Midnight Green (#073B4C). oklch(30.9% 0.052 228.5), rgb(12, 53, 69).

Aa

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

About this color

#0C3545 is a dark, muted teal or cyan. In OKLCH its lightness is 31%, its chroma 0.052 and its hue 228°. Its hue sits on the cool side of the wheel. The nearest named color is Midnight Green (#073B4C), ΔE 0.021 away. White text reads best on it, at 13.03:1.

Hue familyTeals and cyans
Lightnessdark (31%)
Chromamuted (0.052)
Temperaturecool
Nearest nameMidnight Green (#073B4C)
Black text1.61:1
White text13.03:1

Values

HEX#0C3545
RGBrgb(12, 53, 69)
HSLhsl(197, 70%, 16%)
OKLCHoklch(30.9% 0.052 228.5)

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 #0C3545 13.03:1 AAA Lc -102.4 Preferred for body text
Black text on #0C3545 1.61:1 Fails Lc 0.0 Not readable
#0C3545 text on white 13.03:1 AAA Lc 99.1 Preferred for body text
#0C3545 text on black 1.61: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

    #F0F7FA

    oklch(97.2% 0.008 225.1)

  2. Step 100

    100

    #DEEDF3

    oklch(93.7% 0.018 223.6)

  3. Step 200

    200

    #C3DEEB

    oklch(88.5% 0.034 228.4)

  4. Step 300

    300

    #97C9E1

    oklch(80.9% 0.062 229.1)

  5. Step 400

    400

    #56ADD1

    oklch(70.8% 0.099 227.7)

  6. Step 500

    500

    #0097C4

    oklch(63.2% 0.123 228.1)

  7. Step 600

    600

    #007FA5

    oklch(55.7% 0.108 227.8)

  8. Step 700

    700

    #006A8C

    oklch(49% 0.097 229.1)

  9. Step 800

    800

    #005773

    oklch(42.7% 0.084 228.5)

  10. Step 900

    900

    #004860

    oklch(37.5% 0.074 228.7)

  11. Step 950

    950 (this color)

    #0C3545

    oklch(30.9% 0.052 228.5)

Export this scale for Tailwind in the Tailwind colors tool

#0C3545 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)#2D34460.038
Deuteranopia (no green cones)#252E450.033
Tritanopia (no blue cones)#003A3A0.031
Achromatopsia (no color)#3131310.052

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C3545

    #0C3545

    oklch(30.9% 0.052 228.5)

  • #452817

    #452817

    oklch(31% 0.052 50.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C3545

    #0C3545

    oklch(30.9% 0.052 228.5)

  • #00383A

    #00383A

    oklch(30.9% 0.053 198.7)

  • #1F304A

    #1F304A

    oklch(30.8% 0.052 258.6)

Open the analogous palette in the generator

Split complementary

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

  • #0C3545

    #0C3545

    oklch(30.9% 0.052 228.5)

  • #472526

    #472526

    oklch(31% 0.052 18.6)

  • #3E2D0D

    #3E2D0D

    oklch(31% 0.053 80.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C3545

    #0C3545

    oklch(30.9% 0.052 228.5)

  • #442535

    #442535

    oklch(31.1% 0.053 348.3)

  • #323210

    #323210

    oklch(30.9% 0.052 109.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C3545

    #0C3545

    oklch(30.9% 0.052 228.5)

  • #3B2741

    #3B2741

    oklch(30.8% 0.053 318.2)

  • #452817

    #452817

    oklch(31% 0.052 50.3)

  • #22361C

    #22361C

    oklch(30.8% 0.052 138.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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