#2158A2

Closest named color: Dusk Blue (#26538D). oklch(46.5% 0.133 257.1), rgb(33, 88, 162).

Aa

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

About this color

#2158A2 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 47%, its chroma 0.133 and its hue 257°. Its hue sits on the cool side of the wheel. The nearest named color is Dusk Blue (#26538D), ΔE 0.035 away. White text reads best on it, at 7.04:1.

Hue familyBlues
Lightnessmedium-dark (47%)
Chromamoderately saturated (0.133)
Temperaturecool
Nearest nameDusk Blue (#26538D)
Black text2.98:1
White text7.04:1

Values

HEX#2158A2
RGBrgb(33, 88, 162)
HSLhsl(214, 66%, 38%)
OKLCHoklch(46.5% 0.133 257.1)

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 #2158A2 7.04:1 AAA Lc -89.0 Fine for body text
Black text on #2158A2 2.98:1 Fails Lc 20.0 Dividers and decoration only
#2158A2 text on white 7.04:1 AAA Lc 84.0 Fine for body text
#2158A2 text on black 2.98:1 Fails Lc -18.0 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 700.

  1. Step 50

    50

    #F2F6FB

    oklch(97.2% 0.008 253.9)

  2. Step 100

    100

    #E2EBF7

    oklch(93.7% 0.019 255.5)

  3. Step 200

    200

    #CBDBF1

    oklch(88.6% 0.035 256.3)

  4. Step 300

    300

    #A7C3EA

    oklch(81% 0.063 256.7)

  5. Step 400

    400

    #77A2E0

    oklch(70.6% 0.103 257.5)

  6. Step 500

    500

    #538AD8

    oklch(63.1% 0.132 257.3)

  7. Step 600

    600

    #3672C5

    oklch(55.5% 0.143 257.2)

  8. Step 700

    700 (this color)

    #2158A2

    oklch(46.5% 0.133 257.1)

  9. Step 800

    800

    #234E8A

    oklch(42.6% 0.111 257.3)

  10. Step 900

    900

    #22426E

    oklch(37.8% 0.085 256.8)

  11. Step 950

    950

    #142741

    oklch(27.1% 0.055 256.6)

Export this scale for Tailwind in the Tailwind colors tool

#2158A2 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)#315FA50.026
Deuteranopia (no green cones)#1453A10.018
Tritanopia (no blue cones)#006A750.102
Achromatopsia (no color)#5959590.133

Harmonies

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

Complementary

The opposite hue (180°).

  • #2158A2

    #2158A2

    oklch(46.5% 0.133 257.1)

  • #785100

    #785100

    oklch(46.6% 0.098 76.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2158A2

    #2158A2

    oklch(46.5% 0.133 257.1)

  • #006380

    #006380

    oklch(46.6% 0.09 226.6)

  • #574A9F

    #574A9F

    oklch(46.6% 0.133 287.1)

Open the analogous palette in the generator

Split complementary

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

  • #2158A2

    #2158A2

    oklch(46.5% 0.133 257.1)

  • #913D00

    #913D00

    oklch(46.6% 0.129 47.1)

  • #605D00

    #605D00

    oklch(46.6% 0.1 107.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2158A2

    #2158A2

    oklch(46.5% 0.133 257.1)

  • #95323E

    #95323E

    oklch(46.5% 0.133 16.9)

  • #30690E

    #30690E

    oklch(46.4% 0.133 137.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2158A2

    #2158A2

    oklch(46.5% 0.133 257.1)

  • #8C3468

    #8C3468

    oklch(46.6% 0.133 347)

  • #785100

    #785100

    oklch(46.6% 0.098 76.8)

  • #006A4E

    #006A4E

    oklch(46.5% 0.095 167)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #2158A2 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.