#5197EA

Closest named color: Chefchaouen Blue (#4895EF). oklch(66.9% 0.143 254), rgb(81, 151, 234).

Aa

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

About this color

#5197EA is a medium-light, vivid blue. In OKLCH its lightness is 67%, its chroma 0.143 and its hue 254°. Its hue sits on the cool side of the wheel. The nearest named color is Chefchaouen Blue (#4895EF), ΔE 0.013 away. Black text reads best on it, at 6.96:1.

Hue familyBlues
Lightnessmedium-light (67%)
Chromavivid (0.143)
Temperaturecool
Nearest nameChefchaouen Blue (#4895EF)
Black text6.96:1
White text3.01:1

Values

HEX#5197EA
RGBrgb(81, 151, 234)
HSLhsl(213, 78%, 62%)
OKLCHoklch(66.9% 0.143 254)

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 #5197EA 3.01:1 AA large text Lc -62.0 Content text, not long reading
Black text on #5197EA 6.96:1 AA Lc 47.4 Large or bold text, headings
#5197EA text on white 3.01:1 AA large text Lc 56.6 Large or bold text, headings
#5197EA text on black 6.96:1 AA Lc -45.2 Large or bold text, headings

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

    #F1F6FC

    oklch(97.1% 0.01 252.8)

  2. Step 100

    100

    #E1EBF8

    oklch(93.6% 0.021 254.9)

  3. Step 200

    200

    #C8DBF3

    oklch(88.5% 0.039 254.3)

  4. Step 300

    300

    #A2C4EE

    oklch(81% 0.07 253.9)

  5. Step 400

    400

    #6EA4E5

    oklch(70.8% 0.112 253.8)

  6. Step 500

    500 (this color)

    #5197EA

    oklch(66.9% 0.143 254)

  7. Step 600

    600

    #2373CB

    oklch(55.5% 0.156 254.2)

  8. Step 700

    700

    #1460B0

    oklch(49.1% 0.145 254.3)

  9. Step 800

    800

    #154F8E

    oklch(42.7% 0.119 254)

  10. Step 900

    900

    #194271

    oklch(37.6% 0.093 254)

  11. Step 950

    950

    #102742

    oklch(27% 0.058 253.9)

Export this scale for Tailwind in the Tailwind colors tool

#5197EA 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)#729CED0.038
Deuteranopia (no green cones)#5D8EE80.024
Tritanopia (no blue cones)#00AAB50.114
Achromatopsia (no color)#9494940.143

Harmonies

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

Complementary

The opposite hue (180°).

  • #5197EA

    #5197EA

    oklch(66.9% 0.143 254)

  • #C88500

    #C88500

    oklch(66.9% 0.142 73.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5197EA

    #5197EA

    oklch(66.9% 0.143 254)

  • #00A4CE

    #00A4CE

    oklch(66.8% 0.126 224.5)

  • #8B87E9

    #8B87E9

    oklch(66.9% 0.143 283.7)

Open the analogous palette in the generator

Split complementary

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

  • #5197EA

    #5197EA

    oklch(66.9% 0.143 254)

  • #DB7445

    #DB7445

    oklch(66.8% 0.143 44)

  • #A49800

    #A49800

    oklch(66.9% 0.141 103.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5197EA

    #5197EA

    oklch(66.9% 0.143 254)

  • #DE6C7A

    #DE6C7A

    oklch(66.9% 0.143 14.1)

  • #6FA746

    #6FA746

    oklch(66.8% 0.142 133.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5197EA

    #5197EA

    oklch(66.9% 0.143 254)

  • #D06EAA

    #D06EAA

    oklch(66.8% 0.142 344.1)

  • #C88500

    #C88500

    oklch(66.9% 0.142 73.7)

  • #00AF7D

    #00AF7D

    oklch(66.8% 0.142 164.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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