#02142F

Closest named color: Rich Black (#0D1B2A). oklch(19.4% 0.06 256.5), rgb(2, 20, 47).

Aa

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

About this color

#02142F is a very dark, muted blue. In OKLCH its lightness is 19%, its chroma 0.060 and its hue 257°. Its hue sits on the cool side of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.034 away. White text reads best on it, at 18.36:1.

Hue familyBlues
Lightnessvery dark (19%)
Chromamuted (0.060)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.14:1
White text18.36:1

Values

HEX#02142F
RGBrgb(2, 20, 47)
HSLhsl(216, 92%, 10%)
OKLCHoklch(19.4% 0.06 256.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 #02142F 18.36:1 AAA Lc -107.0 Preferred for body text
Black text on #02142F 1.14:1 Fails Lc 0.0 Not readable
#02142F text on white 18.36:1 AAA Lc 104.8 Preferred for body text
#02142F text on black 1.14: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

    #F1F6FC

    oklch(97.1% 0.01 252.8)

  2. Step 100

    100

    #E1EBF8

    oklch(93.6% 0.021 254.9)

  3. Step 200

    200

    #C9DBF4

    oklch(88.6% 0.04 256.6)

  4. Step 300

    300

    #A3C3EF

    oklch(80.9% 0.072 256.4)

  5. Step 400

    400

    #71A3E7

    oklch(70.8% 0.114 256.3)

  6. Step 500

    500

    #4A8AE0

    oklch(63.2% 0.146 256.5)

  7. Step 600

    600

    #2B72CD

    oklch(55.6% 0.157 256.4)

  8. Step 700

    700

    #1D5FB2

    oklch(49.2% 0.147 256.5)

  9. Step 800

    800

    #1B4E90

    oklch(42.8% 0.122 256.5)

  10. Step 900

    900

    #1C4173

    oklch(37.6% 0.096 256.8)

  11. Step 950

    950 (this color)

    #02142F

    oklch(19.4% 0.06 256.5)

Export this scale for Tailwind in the Tailwind colors tool

#02142F 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)#0517300.012
Deuteranopia (no green cones)#00122E0.009
Tritanopia (no blue cones)#001B1F0.046
Achromatopsia (no color)#1414140.060

Harmonies

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

Complementary

The opposite hue (180°).

  • #02142F

    #02142F

    oklch(19.4% 0.06 256.5)

  • #1F1200

    #1F1200

    oklch(19.5% 0.041 77.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #02142F

    #02142F

    oklch(19.4% 0.06 256.5)

  • #001822

    #001822

    oklch(19.5% 0.038 227.2)

  • #140F2E

    #140F2E

    oklch(19.5% 0.06 286.9)

Open the analogous palette in the generator

Split complementary

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

  • #02142F

    #02142F

    oklch(19.4% 0.06 256.5)

  • #270B00

    #270B00

    oklch(19.4% 0.053 47.1)

  • #171600

    #171600

    oklch(19.5% 0.042 107.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #02142F

    #02142F

    oklch(19.4% 0.06 256.5)

  • #2A060B

    #2A060B

    oklch(19.4% 0.06 16.1)

  • #071A00

    #071A00

    oklch(19.4% 0.058 136.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #02142F

    #02142F

    oklch(19.4% 0.06 256.5)

  • #27071A

    #27071A

    oklch(19.5% 0.06 347.2)

  • #1F1200

    #1F1200

    oklch(19.5% 0.041 77.1)

  • #001A11

    #001A11

    oklch(19.3% 0.039 167.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #02142F 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.