#021C30

Closest named color: Rich Black (#0D1B2A). oklch(21.9% 0.051 244.7), rgb(2, 28, 48).

Aa

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

About this color

#021C30 is a very dark, muted blue. In OKLCH its lightness is 22%, its chroma 0.051 and its hue 245°. Its hue sits on the cool side of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.016 away. White text reads best on it, at 17.33:1.

Hue familyBlues
Lightnessvery dark (22%)
Chromamuted (0.051)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.21:1
White text17.33:1

Values

HEX#021C30
RGBrgb(2, 28, 48)
HSLhsl(206, 92%, 10%)
OKLCHoklch(21.9% 0.051 244.7)

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 #021C30 17.33:1 AAA Lc -106.3 Preferred for body text
Black text on #021C30 1.21:1 Fails Lc 0.0 Not readable
#021C30 text on white 17.33:1 AAA Lc 104.0 Preferred for body text
#021C30 text on black 1.21: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

    #F1F6FB

    oklch(97.1% 0.009 247.9)

  2. Step 100

    100

    #E1EBF5

    oklch(93.5% 0.017 248)

  3. Step 200

    200

    #C7DCEE

    oklch(88.4% 0.034 244)

  4. Step 300

    300

    #A0C5E6

    oklch(80.8% 0.061 245.6)

  5. Step 400

    400

    #6BA7D9

    oklch(70.7% 0.097 244.9)

  6. Step 500

    500

    #3E90CF

    oklch(63.1% 0.124 244.9)

  7. Step 600

    600

    #1079BC

    oklch(55.6% 0.135 244.8)

  8. Step 700

    700

    #0066A1

    oklch(49.2% 0.123 244.5)

  9. Step 800

    800

    #075383

    oklch(42.7% 0.103 244.7)

  10. Step 900

    900

    #144569

    oklch(37.7% 0.08 244.8)

  11. Step 950

    950 (this color)

    #021C30

    oklch(21.9% 0.051 244.7)

Export this scale for Tailwind in the Tailwind colors tool

#021C30 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)#121D310.021
Deuteranopia (no green cones)#0B18300.016
Tritanopia (no blue cones)#0021230.036
Achromatopsia (no color)#1A1A1A0.051

Harmonies

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

Complementary

The opposite hue (180°).

  • #021C30

    #021C30

    oklch(21.9% 0.051 244.7)

  • #291500

    #291500

    oklch(21.9% 0.048 66.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #021C30

    #021C30

    oklch(21.9% 0.051 244.7)

  • #001F25

    #001F25

    oklch(22% 0.038 212.7)

  • #141832

    #141832

    oklch(22% 0.051 274.9)

Open the analogous palette in the generator

Split complementary

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

  • #021C30

    #021C30

    oklch(21.9% 0.051 244.7)

  • #2E1009

    #2E1009

    oklch(21.9% 0.051 34.5)

  • #211A00

    #211A00

    oklch(22% 0.045 95.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #021C30

    #021C30

    oklch(21.9% 0.051 244.7)

  • #2D0F17

    #2D0F17

    oklch(21.9% 0.05 5.4)

  • #151E02

    #151E02

    oklch(21.9% 0.051 124.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #021C30

    #021C30

    oklch(21.9% 0.051 244.7)

  • #281024

    #281024

    oklch(21.8% 0.051 333.8)

  • #291500

    #291500

    oklch(21.9% 0.048 66.7)

  • #02210F

    #02210F

    oklch(21.9% 0.051 154.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #021C30 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.