#202A54

Closest named color: Marine (#042E60). oklch(30% 0.077 271.1), rgb(32, 42, 84).

Aa

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

About this color

#202A54 is a dark, moderately saturated blue. In OKLCH its lightness is 30%, its chroma 0.077 and its hue 271°. Its hue sits on the cool side of the wheel. The nearest named color is Marine (#042E60), ΔE 0.033 away. White text reads best on it, at 13.81:1.

Hue familyBlues
Lightnessdark (30%)
Chromamoderately saturated (0.077)
Temperaturecool
Nearest nameMarine (#042E60)
Black text1.52:1
White text13.81:1

Values

HEX#202A54
RGBrgb(32, 42, 84)
HSLhsl(228, 45%, 23%)
OKLCHoklch(30% 0.077 271.1)

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 #202A54 13.81:1 AAA Lc -103.3 Preferred for body text
Black text on #202A54 1.52:1 Fails Lc 0.0 Not readable
#202A54 text on white 13.81:1 AAA Lc 100.3 Preferred for body text
#202A54 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

    #F2F5FE

    oklch(97% 0.012 271.3)

  2. Step 100

    100

    #E3E9FC

    oklch(93.5% 0.027 271.9)

  3. Step 200

    200

    #CCD8FC

    oklch(88.5% 0.051 270.8)

  4. Step 300

    300

    #ABBEFC

    oklch(80.9% 0.09 271.1)

  5. Step 400

    400

    #8099FB

    oklch(70.6% 0.146 271.4)

  6. Step 500

    500

    #627CF8

    oklch(63% 0.186 271.2)

  7. Step 600

    600

    #4B62E7

    oklch(55.6% 0.202 270.9)

  8. Step 700

    700

    #3D50C9

    oklch(49.1% 0.188 270.9)

  9. Step 800

    800

    #3242A3

    oklch(42.7% 0.157 271)

  10. Step 900

    900

    #2B3981

    oklch(37.6% 0.122 271.1)

  11. Step 950

    950 (this color)

    #202A54

    oklch(30% 0.077 271.1)

Export this scale for Tailwind in the Tailwind colors tool

#202A54 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)#172F560.017
Deuteranopia (no green cones)#102B530.019
Tritanopia (no blue cones)#02333A0.069
Achromatopsia (no color)#2D2D2D0.077

Harmonies

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

Complementary

The opposite hue (180°).

  • #202A54

    #202A54

    oklch(30% 0.077 271.1)

  • #392C00

    #392C00

    oklch(29.9% 0.061 91.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #202A54

    #202A54

    oklch(30% 0.077 271.1)

  • #00314D

    #00314D

    oklch(29.9% 0.07 241)

  • #35234E

    #35234E

    oklch(30.1% 0.077 301.2)

Open the analogous palette in the generator

Split complementary

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

  • #202A54

    #202A54

    oklch(30% 0.077 271.1)

  • #462400

    #462400

    oklch(30% 0.07 61.2)

  • #293300

    #293300

    oklch(30.1% 0.072 120.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #202A54

    #202A54

    oklch(30% 0.077 271.1)

  • #4D1C14

    #4D1C14

    oklch(29.9% 0.076 31.3)

  • #043818

    #043818

    oklch(30% 0.077 150.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #202A54

    #202A54

    oklch(30% 0.077 271.1)

  • #4B1A2B

    #4B1A2B

    oklch(29.9% 0.077 1.2)

  • #392C00

    #392C00

    oklch(29.9% 0.061 91.2)

  • #00362F

    #00362F

    oklch(29.9% 0.054 181.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #202A54 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.