#02313C

Closest named color: Midnight Green (#073B4C). oklch(29% 0.051 218.3), rgb(2, 49, 60).

Aa

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

About this color

#02313C is a dark, muted teal or cyan. In OKLCH its lightness is 29%, its chroma 0.051 and its hue 218°. Its hue sits on the cool side of the wheel. The nearest named color is Midnight Green (#073B4C), ΔE 0.041 away. White text reads best on it, at 13.93:1.

Hue familyTeals and cyans
Lightnessdark (29%)
Chromamuted (0.051)
Temperaturecool
Nearest nameMidnight Green (#073B4C)
Black text1.50:1
White text13.93:1

Values

HEX#02313C
RGBrgb(2, 49, 60)
HSLhsl(191, 94%, 12%)
OKLCHoklch(29% 0.051 218.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 #02313C 13.93:1 AAA Lc -103.3 Preferred for body text
Black text on #02313C 1.50:1 Fails Lc 0.0 Not readable
#02313C text on white 13.93:1 AAA Lc 100.3 Preferred for body text
#02313C text on black 1.50: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

    #DEEDF2

    oklch(93.6% 0.017 219.7)

  3. Step 200

    200

    #C2DFE8

    oklch(88.5% 0.033 218.4)

  4. Step 300

    300

    #95CBDB

    oklch(81% 0.06 218.1)

  5. Step 400

    400

    #50AFC9

    oklch(70.7% 0.096 218.5)

  6. Step 500

    500

    #0099B7

    oklch(63.1% 0.114 218.3)

  7. Step 600

    600

    #00819A

    oklch(55.7% 0.1 217.7)

  8. Step 700

    700

    #006C82

    oklch(49.1% 0.088 218.4)

  9. Step 800

    800

    #00596B

    oklch(42.8% 0.077 217.7)

  10. Step 900

    900

    #004A5A

    oklch(37.8% 0.068 218.5)

  11. Step 950

    950 (this color)

    #02313C

    oklch(29% 0.051 218.3)

Export this scale for Tailwind in the Tailwind colors tool

#02313C 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)#2A2F3D0.043
Deuteranopia (no green cones)#222A3C0.038
Tritanopia (no blue cones)#0035350.022
Achromatopsia (no color)#2C2C2C0.051

Harmonies

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

Complementary

The opposite hue (180°).

  • #02313C

    #02313C

    oklch(29% 0.051 218.3)

  • #412218

    #412218

    oklch(29.1% 0.051 38.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #02313C

    #02313C

    oklch(29% 0.051 218.3)

  • #003330

    #003330

    oklch(28.9% 0.05 188.5)

  • #152D43

    #152D43

    oklch(28.9% 0.051 248)

Open the analogous palette in the generator

Split complementary

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

  • #02313C

    #02313C

    oklch(29% 0.051 218.3)

  • #402026

    #402026

    oklch(28.9% 0.05 8.7)

  • #3C260C

    #3C260C

    oklch(29% 0.051 67.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #02313C

    #02313C

    oklch(29% 0.051 218.3)

  • #3B2134

    #3B2134

    oklch(28.9% 0.05 337.4)

  • #322B09

    #322B09

    oklch(28.9% 0.051 97.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #02313C

    #02313C

    oklch(29% 0.051 218.3)

  • #32243F

    #32243F

    oklch(29% 0.051 307.3)

  • #412218

    #412218

    oklch(29.1% 0.051 38.6)

  • #243013

    #243013

    oklch(29% 0.051 127.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #02313C 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.