#21739E

Closest named color: Ocean Blue (#03719C). oklch(52.8% 0.101 236.8), rgb(33, 115, 158).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (53%)
Chromamoderately saturated (0.101)
Temperaturecool
Nearest nameOcean Blue (#03719C)
Black text4.01:1
White text5.23:1

Values

HEX#21739E
RGBrgb(33, 115, 158)
HSLhsl(201, 65%, 37%)
OKLCHoklch(52.8% 0.101 236.8)

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 #21739E 5.23:1 AA Lc -81.0 Fine for body text
Black text on #21739E 4.01:1 AA large text Lc 28.4 Dividers and decoration only
#21739E text on white 5.23:1 AA Lc 75.6 Fine for body text
#21739E text on black 4.01:1 AA large text Lc -26.1 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

    #A6C6DB

    oklch(81% 0.045 236.9)

  5. Step 400

    400

    #74A8C9

    oklch(70.7% 0.073 237)

  6. Step 500

    500

    #4D92BB

    oklch(63.2% 0.093 236.9)

  7. Step 600

    600 (this color)

    #21739E

    oklch(52.8% 0.101 236.8)

  8. Step 700

    700

    #1D688F

    oklch(49.1% 0.094 236.6)

  9. Step 800

    800

    #1B5574

    oklch(42.7% 0.078 236.4)

  10. Step 900

    900

    #1D465E

    oklch(37.6% 0.061 237.2)

  11. Step 950

    950

    #122937

    oklch(26.9% 0.039 237.4)

Export this scale for Tailwind in the Tailwind colors tool

#21739E 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)#5E73A00.058
Deuteranopia (no green cones)#4D679D0.047
Tritanopia (no blue cones)#007E820.065
Achromatopsia (no color)#6C6C6C0.102

Harmonies

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

Complementary

The opposite hue (180°).

  • #21739E

    #21739E

    oklch(52.8% 0.101 236.8)

  • #975A2A

    #975A2A

    oklch(52.8% 0.102 56.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #21739E

    #21739E

    oklch(52.8% 0.101 236.8)

  • #007985

    #007985

    oklch(52.6% 0.09 206.9)

  • #5068A6

    #5068A6

    oklch(52.7% 0.102 266.9)

Open the analogous palette in the generator

Split complementary

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

  • #21739E

    #21739E

    oklch(52.8% 0.101 236.8)

  • #9D524B

    #9D524B

    oklch(52.7% 0.101 26.6)

  • #856613

    #856613

    oklch(52.7% 0.101 86)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #21739E

    #21739E

    oklch(52.8% 0.101 236.8)

  • #99506C

    #99506C

    oklch(52.7% 0.102 356.8)

  • #687225

    #687225

    oklch(52.7% 0.101 116.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #21739E

    #21739E

    oklch(52.8% 0.101 236.8)

  • #8A558A

    #8A558A

    oklch(52.8% 0.102 326.9)

  • #975A2A

    #975A2A

    oklch(52.8% 0.102 56.2)

  • #3F7B47

    #3F7B47

    oklch(52.8% 0.102 146.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #21739E 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.