#5198FF

Closest named color: Chefchaouen Blue (#4895EF). oklch(68.3% 0.169 257.9), rgb(81, 152, 255).

Aa

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

About this color

#5198FF is a medium-light, vivid blue. In OKLCH its lightness is 68%, its chroma 0.169 and its hue 258°. Its hue sits on the cool side of the wheel. The nearest named color is Chefchaouen Blue (#4895EF), ΔE 0.026 away. Black text reads best on it, at 7.28:1.

Hue familyBlues
Lightnessmedium-light (68%)
Chromavivid (0.169)
Temperaturecool
Nearest nameChefchaouen Blue (#4895EF)
Black text7.28:1
White text2.88:1

Values

HEX#5198FF
RGBrgb(81, 152, 255)
HSLhsl(216, 100%, 66%)
OKLCHoklch(68.3% 0.169 257.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 #5198FF 2.88:1 Fails Lc -60.0 Content text, not long reading
Black text on #5198FF 7.28:1 AAA Lc 49.3 Large or bold text, headings
#5198FF text on white 2.88:1 Fails Lc 54.7 Large or bold text, headings
#5198FF text on black 7.28:1 AAA Lc -47.1 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 400.

  1. Step 50

    50

    #F0F6FF

    oklch(97.1% 0.014 258.3)

  2. Step 100

    100

    #DEEBFF

    oklch(93.6% 0.031 258.9)

  3. Step 200

    200

    #C2DBFF

    oklch(88.5% 0.057 257.5)

  4. Step 300

    300

    #9AC3FF

    oklch(81% 0.096 257.8)

  5. Step 400

    400 (this color)

    #5198FF

    oklch(68.3% 0.169 257.9)

  6. Step 500

    500

    #2C85FF

    oklch(63.1% 0.2 257.8)

  7. Step 600

    600

    #006CE7

    oklch(55.5% 0.204 257.8)

  8. Step 700

    700

    #005BC4

    oklch(49.2% 0.18 257.7)

  9. Step 800

    800

    #004AA2

    oklch(42.7% 0.156 257.7)

  10. Step 900

    900

    #003D89

    oklch(37.7% 0.139 257.9)

  11. Step 950

    950

    #052551

    oklch(27.2% 0.089 257.7)

Export this scale for Tailwind in the Tailwind colors tool

#5198FF 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)#68A1FF0.034
Deuteranopia (no green cones)#4C91FD0.019
Tritanopia (no blue cones)#00B0BF0.134
Achromatopsia (no color)#9898980.169

Harmonies

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

Complementary

The opposite hue (180°).

  • #5198FF

    #5198FF

    oklch(68.3% 0.169 257.9)

  • #C98C00

    #C98C00

    oklch(68.3% 0.143 77.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5198FF

    #5198FF

    oklch(68.3% 0.169 257.9)

  • #00A8D9

    #00A8D9

    oklch(68.3% 0.133 227.8)

  • #9684FA

    #9684FA

    oklch(68.2% 0.169 288.1)

Open the analogous palette in the generator

Split complementary

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

  • #5198FF

    #5198FF

    oklch(68.3% 0.169 257.9)

  • #E97228

    #E97228

    oklch(68.1% 0.168 47.8)

  • #A39F00

    #A39F00

    oklch(68.4% 0.147 107.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5198FF

    #5198FF

    oklch(68.3% 0.169 257.9)

  • #EF6671

    #EF6671

    oklch(68.3% 0.169 17.9)

  • #60B03F

    #60B03F

    oklch(68.2% 0.168 137.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5198FF

    #5198FF

    oklch(68.3% 0.169 257.9)

  • #E168AC

    #E168AC

    oklch(68.3% 0.168 347.6)

  • #C98C00

    #C98C00

    oklch(68.3% 0.143 77.8)

  • #00B488

    #00B488

    oklch(68.4% 0.139 167.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #5198FF 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.