#2152AA

Closest named color: Dusk Blue (#26538D). oklch(45.8% 0.151 261), rgb(33, 82, 170).

Aa

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

About this color

#2152AA is a medium-dark, vivid blue. In OKLCH its lightness is 46%, its chroma 0.151 and its hue 261°. Its hue sits on the cool side of the wheel. The nearest named color is Dusk Blue (#26538D), ΔE 0.048 away. White text reads best on it, at 7.36:1.

Hue familyBlues
Lightnessmedium-dark (46%)
Chromavivid (0.151)
Temperaturecool
Nearest nameDusk Blue (#26538D)
Black text2.85:1
White text7.36:1

Values

HEX#2152AA
RGBrgb(33, 82, 170)
HSLhsl(219, 67%, 40%)
OKLCHoklch(45.8% 0.151 261)

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 #2152AA 7.36:1 AAA Lc -90.0 Fine for body text
Black text on #2152AA 2.85:1 Fails Lc 18.9 Dividers and decoration only
#2152AA text on white 7.36:1 AAA Lc 85.1 Fine for body text
#2152AA text on black 2.85:1 Fails Lc -16.9 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 800.

  1. Step 50

    50

    #F1F6FE

    oklch(97.2% 0.012 259.8)

  2. Step 100

    100

    #E0EAFC

    oklch(93.5% 0.027 262.3)

  3. Step 200

    200

    #C7DAFA

    oklch(88.4% 0.049 260.9)

  4. Step 300

    300

    #A1C2FA

    oklch(81% 0.087 260.8)

  5. Step 400

    400

    #6D9FF8

    oklch(70.6% 0.142 261.2)

  6. Step 500

    500

    #4684F5

    oklch(63% 0.181 261.2)

  7. Step 600

    600

    #276BE4

    oklch(55.7% 0.196 261)

  8. Step 700

    700

    #1A58C6

    oklch(49.1% 0.183 261)

  9. Step 800

    800 (this color)

    #2152AA

    oklch(45.8% 0.151 261)

  10. Step 900

    900

    #1A3E7F

    oklch(37.7% 0.118 261.1)

  11. Step 950

    950

    #10254A

    oklch(27% 0.074 260.8)

Export this scale for Tailwind in the Tailwind colors tool

#2152AA 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)#175CAD0.026
Deuteranopia (no green cones)#0050A80.018
Tritanopia (no blue cones)#0067760.116
Achromatopsia (no color)#5656560.151

Harmonies

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

Complementary

The opposite hue (180°).

  • #2152AA

    #2152AA

    oklch(45.8% 0.151 261)

  • #725100

    #725100

    oklch(45.8% 0.095 81.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2152AA

    #2152AA

    oklch(45.8% 0.151 261)

  • #006081

    #006081

    oklch(45.8% 0.092 230.6)

  • #5B42A3

    #5B42A3

    oklch(45.9% 0.15 291.2)

Open the analogous palette in the generator

Split complementary

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

  • #2152AA

    #2152AA

    oklch(45.8% 0.151 261)

  • #8A3F00

    #8A3F00

    oklch(45.8% 0.12 50.7)

  • #5A5C00

    #5A5C00

    oklch(45.8% 0.101 111.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2152AA

    #2152AA

    oklch(45.8% 0.151 261)

  • #9A2630

    #9A2630

    oklch(45.8% 0.151 21.1)

  • #146A00

    #146A00

    oklch(45.7% 0.151 141.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2152AA

    #2152AA

    oklch(45.8% 0.151 261)

  • #912862

    #912862

    oklch(45.8% 0.151 350.8)

  • #725100

    #725100

    oklch(45.8% 0.095 81.4)

  • #006751

    #006751

    oklch(45.7% 0.089 171.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #2152AA 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.