#21729C

Closest named color: Ocean Blue (#03719C). oklch(52.4% 0.1 236.4), rgb(33, 114, 156).

Aa

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

About this color

#21729C is a medium-dark, moderately saturated blue. In OKLCH its lightness is 52%, its chroma 0.100 and its hue 236°. Its hue sits on the cool side of the wheel. The nearest named color is Ocean Blue (#03719C), ΔE 0.011 away. White text reads best on it, at 5.31:1.

Hue familyBlues
Lightnessmedium-dark (52%)
Chromamoderately saturated (0.100)
Temperaturecool
Nearest nameOcean Blue (#03719C)
Black text3.95:1
White text5.31:1

Values

HEX#21729C
RGBrgb(33, 114, 156)
HSLhsl(200, 65%, 37%)
OKLCHoklch(52.4% 0.1 236.4)

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 #21729C 5.31:1 AA Lc -81.4 Fine for body text
Black text on #21729C 3.95:1 AA large text Lc 28.0 Dividers and decoration only
#21729C text on white 5.31:1 AA Lc 76.1 Fine for body text
#21729C text on black 3.95:1 AA large text Lc -25.7 Dividers and decoration only

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 600.

  1. Step 50

    50

    #F2F6F9

    oklch(97.1% 0.006 239.8)

  2. Step 100

    100

    #E2EBF2

    oklch(93.5% 0.014 241)

  3. Step 200

    200

    #CADCE8

    oklch(88.5% 0.025 236.9)

  4. Step 300

    300

    #A6C6DA

    oklch(81% 0.045 235.5)

  5. Step 400

    400

    #74A8C8

    oklch(70.7% 0.072 236.2)

  6. Step 500

    500

    #4D92BA

    oklch(63.1% 0.092 236.2)

  7. Step 600

    600 (this color)

    #21729C

    oklch(52.4% 0.1 236.4)

  8. Step 700

    700

    #1E688E

    oklch(49.1% 0.093 236)

  9. Step 800

    800

    #1C5573

    oklch(42.7% 0.076 235.8)

  10. Step 900

    900

    #1E465D

    oklch(37.6% 0.06 236.6)

  11. Step 950

    950

    #132937

    oklch(27% 0.038 238.3)

Export this scale for Tailwind in the Tailwind colors tool

#21729C 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)#5E729E0.059
Deuteranopia (no green cones)#4D669B0.048
Tritanopia (no blue cones)#007D800.065
Achromatopsia (no color)#6B6B6B0.100

Harmonies

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

Complementary

The opposite hue (180°).

  • #21729C

    #21729C

    oklch(52.4% 0.1 236.4)

  • #95592A

    #95592A

    oklch(52.3% 0.1 56.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #21729C

    #21729C

    oklch(52.4% 0.1 236.4)

  • #007884

    #007884

    oklch(52.3% 0.09 207)

  • #4F68A4

    #4F68A4

    oklch(52.5% 0.1 265.9)

Open the analogous palette in the generator

Split complementary

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

  • #21729C

    #21729C

    oklch(52.4% 0.1 236.4)

  • #9C514B

    #9C514B

    oklch(52.4% 0.101 25.8)

  • #836514

    #836514

    oklch(52.3% 0.1 86.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #21729C

    #21729C

    oklch(52.4% 0.1 236.4)

  • #97506B

    #97506B

    oklch(52.4% 0.1 356.9)

  • #677125

    #677125

    oklch(52.4% 0.1 116.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #21729C

    #21729C

    oklch(52.4% 0.1 236.4)

  • #885489

    #885489

    oklch(52.4% 0.101 326.2)

  • #95592A

    #95592A

    oklch(52.3% 0.1 56.2)

  • #407946

    #407946

    oklch(52.3% 0.099 146.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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