#2152A5

Closest named color: Dusk Blue (#26538D). oklch(45.4% 0.144 260.3), rgb(33, 82, 165).

Aa

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

About this color

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

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

Values

HEX#2152A5
RGBrgb(33, 82, 165)
HSLhsl(218, 67%, 39%)
OKLCHoklch(45.4% 0.144 260.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 #2152A5 7.46:1 AAA Lc -90.3 Preferred for body text
Black text on #2152A5 2.81:1 Fails Lc 18.6 Dividers and decoration only
#2152A5 text on white 7.46:1 AAA Lc 85.5 Fine for body text
#2152A5 text on black 2.81:1 Fails Lc -16.6 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

    #F1F6FD

    oklch(97.1% 0.011 256.7)

  2. Step 100

    100

    #E1EBFB

    oklch(93.7% 0.024 259.8)

  3. Step 200

    200

    #C8DAF9

    oklch(88.5% 0.047 261.4)

  4. Step 300

    300

    #A1C2F8

    oklch(80.9% 0.085 260.1)

  5. Step 400

    400

    #6EA0F4

    oklch(70.7% 0.135 260.3)

  6. Step 500

    500

    #4786F0

    oklch(63.2% 0.172 260.2)

  7. Step 600

    600

    #296CDE

    oklch(55.5% 0.187 260.4)

  8. Step 700

    700

    #1B5AC1

    oklch(49.1% 0.174 260.1)

  9. Step 800

    800 (this color)

    #2152A5

    oklch(45.4% 0.144 260.3)

  10. Step 900

    900

    #1B3F7C

    oklch(37.8% 0.112 260.3)

  11. Step 950

    950

    #102549

    oklch(26.9% 0.072 260.4)

Export this scale for Tailwind in the Tailwind colors tool

#2152A5 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)#1F5BA80.025
Deuteranopia (no green cones)#004FA30.020
Tritanopia (no blue cones)#0066730.112
Achromatopsia (no color)#5555550.144

Harmonies

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

Complementary

The opposite hue (180°).

  • #2152A5

    #2152A5

    oklch(45.4% 0.144 260.3)

  • #714F00

    #714F00

    oklch(45.3% 0.094 80)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2152A5

    #2152A5

    oklch(45.4% 0.144 260.3)

  • #005F7F

    #005F7F

    oklch(45.5% 0.091 230)

  • #58429F

    #58429F

    oklch(45.3% 0.145 290.3)

Open the analogous palette in the generator

Split complementary

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

  • #2152A5

    #2152A5

    oklch(45.4% 0.144 260.3)

  • #893E00

    #893E00

    oklch(45.5% 0.12 50.3)

  • #5A5B00

    #5A5B00

    oklch(45.5% 0.1 110.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2152A5

    #2152A5

    oklch(45.4% 0.144 260.3)

  • #962933

    #962933

    oklch(45.4% 0.144 20.1)

  • #1C6805

    #1C6805

    oklch(45.3% 0.144 140.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2152A5

    #2152A5

    oklch(45.4% 0.144 260.3)

  • #8D2B61

    #8D2B61

    oklch(45.4% 0.143 350.3)

  • #714F00

    #714F00

    oklch(45.3% 0.094 80)

  • #00664F

    #00664F

    oklch(45.4% 0.09 170.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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