#2162D1

Closest named color: Royal Blue (#4169E1). oklch(52.2% 0.184 260.6), rgb(33, 98, 209).

Aa

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

About this color

#2162D1 is a medium-dark, vivid blue. In OKLCH its lightness is 52%, its chroma 0.184 and its hue 261°. Its hue sits on the cool side of the wheel. The nearest named color is Royal Blue (#4169E1), ΔE 0.042 away. White text reads best on it, at 5.62:1.

Hue familyBlues
Lightnessmedium-dark (52%)
Chromavivid (0.184)
Temperaturecool
Nearest nameRoyal Blue (#4169E1)
Black text3.73:1
White text5.62:1

Values

HEX#2162D1
RGBrgb(33, 98, 209)
HSLhsl(218, 73%, 47%)
OKLCHoklch(52.2% 0.184 260.6)

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 #2162D1 5.62:1 AA Lc -82.8 Fine for body text
Black text on #2162D1 3.73:1 AA large text Lc 26.6 Dividers and decoration only
#2162D1 text on white 5.62:1 AA Lc 77.5 Fine for body text
#2162D1 text on black 3.73:1 AA large text Lc -24.3 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

    #F1F6FE

    oklch(97.2% 0.012 259.8)

  2. Step 100

    100

    #E0EBFC

    oklch(93.7% 0.026 259)

  3. Step 200

    200

    #C7DAFB

    oklch(88.5% 0.05 261.5)

  4. Step 300

    300

    #A0C2FB

    oklch(81% 0.089 260.6)

  5. Step 400

    400

    #6CA0F9

    oklch(70.8% 0.142 260.6)

  6. Step 500

    500

    #4385F5

    oklch(63.1% 0.181 260.3)

  7. Step 600

    600

    #246BE4

    oklch(55.6% 0.197 260.6)

  8. Step 700

    700 (this color)

    #2162D1

    oklch(52.2% 0.184 260.6)

  9. Step 800

    800

    #1549A0

    oklch(42.7% 0.152 260.4)

  10. Step 900

    900

    #183E7F

    oklch(37.6% 0.118 260.4)

  11. Step 950

    950

    #0F254A

    oklch(27% 0.074 260.2)

Export this scale for Tailwind in the Tailwind colors tool

#2162D1 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)#0170D50.035
Deuteranopia (no green cones)#0060CF0.015
Tritanopia (no blue cones)#007D900.140
Achromatopsia (no color)#6767670.184

Harmonies

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

Complementary

The opposite hue (180°).

  • #2162D1

    #2162D1

    oklch(52.2% 0.184 260.6)

  • #896100

    #896100

    oklch(52.1% 0.108 80.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2162D1

    #2162D1

    oklch(52.2% 0.184 260.6)

  • #00739A

    #00739A

    oklch(52.1% 0.105 230.8)

  • #6D4DC9

    #6D4DC9

    oklch(52.2% 0.184 290.5)

Open the analogous palette in the generator

Split complementary

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

  • #2162D1

    #2162D1

    oklch(52.2% 0.184 260.6)

  • #A54D00

    #A54D00

    oklch(52.3% 0.137 50.8)

  • #6D6F00

    #6D6F00

    oklch(52.2% 0.115 111)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2162D1

    #2162D1

    oklch(52.2% 0.184 260.6)

  • #BC2739

    #BC2739

    oklch(52.2% 0.184 20.5)

  • #1F7F00

    #1F7F00

    oklch(52.1% 0.17 140.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2162D1

    #2162D1

    oklch(52.2% 0.184 260.6)

  • #B12A77

    #B12A77

    oklch(52.2% 0.184 350.6)

  • #896100

    #896100

    oklch(52.1% 0.108 80.4)

  • #007C61

    #007C61

    oklch(52.2% 0.103 170.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #2162D1 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.