#21347C

Closest named color: Marine Blue (#01386A). oklch(35.6% 0.125 268.2), rgb(33, 52, 124).

Aa

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

About this color

#21347C is a dark, moderately saturated blue. In OKLCH its lightness is 36%, its chroma 0.125 and its hue 268°. Its hue sits on the cool side of the wheel. The nearest named color is Marine Blue (#01386A), ΔE 0.042 away. White text reads best on it, at 11.37:1.

Hue familyBlues
Lightnessdark (36%)
Chromamoderately saturated (0.125)
Temperaturecool
Nearest nameMarine Blue (#01386A)
Black text1.84:1
White text11.37:1

Values

HEX#21347C
RGBrgb(33, 52, 124)
HSLhsl(227, 58%, 31%)
OKLCHoklch(35.6% 0.125 268.2)

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 #21347C 11.37:1 AAA Lc -99.6 Preferred for body text
Black text on #21347C 1.84:1 Fails Lc 8.1 Not readable
#21347C text on white 11.37:1 AAA Lc 95.8 Preferred for body text
#21347C text on black 1.84: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 900.

  1. Step 50

    50

    #F2F5FE

    oklch(97% 0.012 271.3)

  2. Step 100

    100

    #E2EAFD

    oklch(93.7% 0.027 267.5)

  3. Step 200

    200

    #CAD9FC

    oklch(88.5% 0.051 267)

  4. Step 300

    300

    #A7BFFE

    oklch(81% 0.093 268.2)

  5. Step 400

    400

    #799BFD

    oklch(70.7% 0.149 268)

  6. Step 500

    500

    #597EFB

    oklch(63.1% 0.19 268.1)

  7. Step 600

    600

    #4163EA

    oklch(55.5% 0.207 268.1)

  8. Step 700

    700

    #3451CC

    oklch(49.1% 0.193 268.1)

  9. Step 800

    800

    #2B43A5

    oklch(42.7% 0.16 268.2)

  10. Step 900

    900 (this color)

    #21347C

    oklch(35.6% 0.125 268.2)

  11. Step 950

    950

    #16234C

    oklch(27% 0.078 267.7)

Export this scale for Tailwind in the Tailwind colors tool

#21347C 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)#003E7E0.032
Deuteranopia (no green cones)#00367B0.024
Tritanopia (no blue cones)#0046520.102
Achromatopsia (no color)#3A3A3A0.125

Harmonies

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

Complementary

The opposite hue (180°).

  • #21347C

    #21347C

    oklch(35.6% 0.125 268.2)

  • #4C3900

    #4C3900

    oklch(35.6% 0.073 87.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #21347C

    #21347C

    oklch(35.6% 0.125 268.2)

  • #004160

    #004160

    oklch(35.6% 0.079 237.7)

  • #462773

    #462773

    oklch(35.6% 0.125 298.6)

Open the analogous palette in the generator

Split complementary

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

  • #21347C

    #21347C

    oklch(35.6% 0.125 268.2)

  • #5C2E00

    #5C2E00

    oklch(35.5% 0.085 57.5)

  • #384100

    #384100

    oklch(35.5% 0.083 118.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #21347C

    #21347C

    oklch(35.6% 0.125 268.2)

  • #6F1511

    #6F1511

    oklch(35.6% 0.125 28.1)

  • #004A19

    #004A19

    oklch(35.7% 0.103 148)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #21347C

    #21347C

    oklch(35.6% 0.125 268.2)

  • #6B143B

    #6B143B

    oklch(35.7% 0.124 358.8)

  • #4C3900

    #4C3900

    oklch(35.6% 0.073 87.6)

  • #00473C

    #00473C

    oklch(35.6% 0.066 178)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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