#21336A

Closest named color: Marine Blue (#01386A). oklch(33.9% 0.099 267.3), rgb(33, 51, 106).

Aa

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

About this color

#21336A is a dark, moderately saturated blue. In OKLCH its lightness is 34%, its chroma 0.099 and its hue 267°. Its hue sits on the cool side of the wheel. The nearest named color is Marine Blue (#01386A), ΔE 0.026 away. White text reads best on it, at 12.02:1.

Hue familyBlues
Lightnessdark (34%)
Chromamoderately saturated (0.099)
Temperaturecool
Nearest nameMarine Blue (#01386A)
Black text1.74:1
White text12.02:1

Values

HEX#21336A
RGBrgb(33, 51, 106)
HSLhsl(225, 53%, 27%)
OKLCHoklch(33.9% 0.099 267.3)

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 #21336A 12.02:1 AAA Lc -100.8 Preferred for body text
Black text on #21336A 1.74:1 Fails Lc 0.0 Not readable
#21336A text on white 12.02:1 AAA Lc 97.3 Preferred for body text
#21336A text on black 1.74: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

    #F2F5FC

    oklch(97% 0.01 267.4)

  2. Step 100

    100

    #E3EAF9

    oklch(93.6% 0.022 265.8)

  3. Step 200

    200

    #CDD9F5

    oklch(88.5% 0.041 267.1)

  4. Step 300

    300

    #ABC0F1

    oklch(80.9% 0.073 266.7)

  5. Step 400

    400

    #809EEB

    oklch(70.8% 0.118 267.2)

  6. Step 500

    500

    #6183E4

    oklch(63% 0.151 267.4)

  7. Step 600

    600

    #496AD2

    oklch(55.5% 0.164 267.6)

  8. Step 700

    700

    #3A58B6

    oklch(49% 0.153 267.2)

  9. Step 800

    800

    #304993

    oklch(42.7% 0.125 267)

  10. Step 900

    900 (this color)

    #21336A

    oklch(33.9% 0.099 267.3)

  11. Step 950

    950

    #192445

    oklch(26.9% 0.063 268.1)

Export this scale for Tailwind in the Tailwind colors tool

#21336A 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)#153A6C0.022
Deuteranopia (no green cones)#0433690.025
Tritanopia (no blue cones)#0040490.083
Achromatopsia (no color)#3636360.099

Harmonies

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

Complementary

The opposite hue (180°).

  • #21336A

    #21336A

    oklch(33.9% 0.099 267.3)

  • #473500

    #473500

    oklch(34% 0.069 87.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #21336A

    #21336A

    oklch(33.9% 0.099 267.3)

  • #003C59

    #003C59

    oklch(33.8% 0.075 237.7)

  • #3E2963

    #3E2963

    oklch(33.7% 0.099 297.6)

Open the analogous palette in the generator

Split complementary

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

  • #21336A

    #21336A

    oklch(33.9% 0.099 267.3)

  • #562A00

    #562A00

    oklch(33.8% 0.082 56.8)

  • #353C00

    #353C00

    oklch(33.8% 0.078 116.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #21336A

    #21336A

    oklch(33.9% 0.099 267.3)

  • #611D19

    #611D19

    oklch(33.9% 0.099 27.1)

  • #014415

    #014415

    oklch(33.7% 0.098 147.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #21336A

    #21336A

    oklch(33.9% 0.099 267.3)

  • #5D1C38

    #5D1C38

    oklch(33.8% 0.099 357.2)

  • #473500

    #473500

    oklch(34% 0.069 87.5)

  • #004237

    #004237

    oklch(33.9% 0.063 177)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #21336A 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.