#5197E2

Closest named color: Chefchaouen Blue (#4895EF). oklch(66.4% 0.133 251.9), rgb(81, 151, 226).

Aa

Black text reads best on this color (6.87:1).

About this color

#5197E2 is a medium-light, moderately saturated blue. In OKLCH its lightness is 66%, its chroma 0.133 and its hue 252°. Its hue sits on the cool side of the wheel. The nearest named color is Chefchaouen Blue (#4895EF), ΔE 0.022 away. Black text reads best on it, at 6.87:1.

Hue familyBlues
Lightnessmedium-light (66%)
Chromamoderately saturated (0.133)
Temperaturecool
Nearest nameChefchaouen Blue (#4895EF)
Black text6.87:1
White text3.05:1

Values

HEX#5197E2
RGBrgb(81, 151, 226)
HSLhsl(211, 71%, 60%)
OKLCHoklch(66.4% 0.133 251.9)

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 #5197E2 3.05:1 AA large text Lc -62.5 Content text, not long reading
Black text on #5197E2 6.87:1 AA Lc 46.9 Large or bold text, headings
#5197E2 text on white 3.05:1 AA large text Lc 57.1 Large or bold text, headings
#5197E2 text on black 6.87:1 AA Lc -44.6 Non-text elements, placeholder text

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 500.

  1. Step 50

    50

    #F1F6FB

    oklch(97.1% 0.009 247.9)

  2. Step 100

    100

    #E1EBF6

    oklch(93.6% 0.018 250.6)

  3. Step 200

    200

    #C8DBF1

    oklch(88.4% 0.037 252.1)

  4. Step 300

    300

    #A3C4EA

    oklch(80.9% 0.065 252.2)

  5. Step 400

    400

    #6FA5E0

    oklch(70.8% 0.104 251.5)

  6. Step 500

    500 (this color)

    #5197E2

    oklch(66.4% 0.133 251.9)

  7. Step 600

    600

    #2475C4

    oklch(55.5% 0.144 251.8)

  8. Step 700

    700

    #1662AA

    oklch(49.1% 0.135 252)

  9. Step 800

    800

    #165089

    oklch(42.6% 0.111 252)

  10. Step 900

    900

    #1A436E

    oklch(37.7% 0.087 252.1)

  11. Step 950

    950

    #102840

    oklch(27.1% 0.054 250.5)

Export this scale for Tailwind in the Tailwind colors tool

#5197E2 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)#769BE50.041
Deuteranopia (no green cones)#628DE10.029
Tritanopia (no blue cones)#00A8B20.105
Achromatopsia (no color)#9393930.133

Harmonies

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

Complementary

The opposite hue (180°).

  • #5197E2

    #5197E2

    oklch(66.4% 0.133 251.9)

  • #C5841F

    #C5841F

    oklch(66.4% 0.133 71.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5197E2

    #5197E2

    oklch(66.4% 0.133 251.9)

  • #00A3C9

    #00A3C9

    oklch(66.3% 0.123 222.2)

  • #8788E2

    #8788E2

    oklch(66.4% 0.132 281.7)

Open the analogous palette in the generator

Split complementary

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

  • #5197E2

    #5197E2

    oklch(66.4% 0.133 251.9)

  • #D6754E

    #D6754E

    oklch(66.4% 0.133 42.1)

  • #A49519

    #A49519

    oklch(66.3% 0.132 101.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5197E2

    #5197E2

    oklch(66.4% 0.133 251.9)

  • #D76E7E

    #D76E7E

    oklch(66.4% 0.132 11.7)

  • #75A448

    #75A448

    oklch(66.4% 0.133 131.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5197E2

    #5197E2

    oklch(66.4% 0.133 251.9)

  • #CA70AA

    #CA70AA

    oklch(66.4% 0.133 342.1)

  • #C5841F

    #C5841F

    oklch(66.4% 0.133 71.9)

  • #2CAC7A

    #2CAC7A

    oklch(66.4% 0.132 162)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #5197E2 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.