#5297EF

Closest named color: Chefchaouen Blue (#4895EF). oklch(67.2% 0.149 255.5), rgb(82, 151, 239).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-light (67%)
Chromavivid (0.149)
Temperaturecool
Nearest nameChefchaouen Blue (#4895EF)
Black text7.03:1
White text2.98:1

Values

HEX#5297EF
RGBrgb(82, 151, 239)
HSLhsl(214, 83%, 63%)
OKLCHoklch(67.2% 0.149 255.5)

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 #5297EF 2.98:1 Fails Lc -61.6 Content text, not long reading
Black text on #5297EF 7.03:1 AAA Lc 47.8 Large or bold text, headings
#5297EF text on white 2.98:1 Fails Lc 56.2 Large or bold text, headings
#5297EF text on black 7.03:1 AAA Lc -45.6 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

    #F0F6FE

    oklch(97.1% 0.012 255.5)

  2. Step 100

    100

    #DEEBFC

    oklch(93.5% 0.027 255.1)

  3. Step 200

    200

    #C3DBFC

    oklch(88.4% 0.052 256.4)

  4. Step 300

    300

    #98C4FC

    oklch(80.9% 0.093 254.7)

  5. Step 400

    400 (this color)

    #5297EF

    oklch(67.2% 0.149 255.5)

  6. Step 500

    500

    #2688F9

    oklch(63.2% 0.19 255.4)

  7. Step 600

    600

    #0070DC

    oklch(55.6% 0.186 255.4)

  8. Step 700

    700

    #005EBB

    oklch(49.1% 0.165 255.5)

  9. Step 800

    800

    #004D9B

    oklch(42.8% 0.143 255.4)

  10. Step 900

    900

    #024081

    oklch(37.7% 0.124 255.3)

  11. Step 950

    950

    #07264C

    oklch(27.1% 0.079 255.8)

Export this scale for Tailwind in the Tailwind colors tool

#5297EF 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)#709DF30.036
Deuteranopia (no green cones)#598FED0.021
Tritanopia (no blue cones)#00ABB80.118
Achromatopsia (no color)#9595950.149

Harmonies

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

Complementary

The opposite hue (180°).

  • #5297EF

    #5297EF

    oklch(67.2% 0.149 255.5)

  • #C78700

    #C78700

    oklch(67.1% 0.141 75.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5297EF

    #5297EF

    oklch(67.2% 0.149 255.5)

  • #00A5D1

    #00A5D1

    oklch(67.2% 0.128 225.5)

  • #8E86EC

    #8E86EC

    oklch(67.2% 0.148 285.3)

Open the analogous palette in the generator

Split complementary

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

  • #5297EF

    #5297EF

    oklch(67.2% 0.149 255.5)

  • #DE743F

    #DE743F

    oklch(67.1% 0.148 45.5)

  • #A39A00

    #A39A00

    oklch(67.2% 0.143 105.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5297EF

    #5297EF

    oklch(67.2% 0.149 255.5)

  • #E26B77

    #E26B77

    oklch(67.3% 0.148 15.7)

  • #6BAA45

    #6BAA45

    oklch(67.3% 0.149 135.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5297EF

    #5297EF

    oklch(67.2% 0.149 255.5)

  • #D46CAA

    #D46CAA

    oklch(67.1% 0.149 345.1)

  • #C78700

    #C78700

    oklch(67.1% 0.141 75.4)

  • #00B081

    #00B081

    oklch(67.1% 0.14 165.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #5297EF 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.