#4797EB

Closest named color: Chefchaouen Blue (#4895EF). oklch(66.5% 0.148 251.9), rgb(71, 151, 235).

Aa

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

About this color

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

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

Values

HEX#4797EB
RGBrgb(71, 151, 235)
HSLhsl(211, 80%, 60%)
OKLCHoklch(66.5% 0.148 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 #4797EB 3.04:1 AA large text Lc -62.3 Content text, not long reading
Black text on #4797EB 6.89:1 AA Lc 47.1 Large or bold text, headings
#4797EB text on white 3.04:1 AA large text Lc 57.0 Large or bold text, headings
#4797EB text on black 6.89:1 AA Lc -44.8 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

    #F1F6FC

    oklch(97.1% 0.01 252.8)

  2. Step 100

    100

    #E0EBF8

    oklch(93.6% 0.021 252.5)

  3. Step 200

    200

    #C7DCF4

    oklch(88.6% 0.04 251.8)

  4. Step 300

    300

    #9FC4EF

    oklch(80.9% 0.073 252.5)

  5. Step 400

    400

    #69A5E7

    oklch(70.8% 0.116 251.9)

  6. Step 500

    500 (this color)

    #4797EB

    oklch(66.5% 0.148 251.9)

  7. Step 600

    600

    #0E74CD

    oklch(55.5% 0.161 252)

  8. Step 700

    700

    #0061B0

    oklch(49% 0.147 252)

  9. Step 800

    800

    #065090

    oklch(42.8% 0.124 251.8)

  10. Step 900

    900

    #124373

    oklch(37.8% 0.097 251.8)

  11. Step 950

    950

    #0D2743

    oklch(26.9% 0.061 252.5)

Export this scale for Tailwind in the Tailwind colors tool

#4797EB 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)#719CEE0.044
Deuteranopia (no green cones)#598DE90.028
Tritanopia (no blue cones)#00ABB60.113
Achromatopsia (no color)#9494940.148

Harmonies

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

Complementary

The opposite hue (180°).

  • #4797EB

    #4797EB

    oklch(66.5% 0.148 251.9)

  • #C98300

    #C98300

    oklch(66.6% 0.143 71.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4797EB

    #4797EB

    oklch(66.5% 0.148 251.9)

  • #00A4C9

    #00A4C9

    oklch(66.6% 0.123 221.5)

  • #8786EB

    #8786EB

    oklch(66.6% 0.147 282.1)

Open the analogous palette in the generator

Split complementary

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

  • #4797EB

    #4797EB

    oklch(66.5% 0.148 251.9)

  • #DD7145

    #DD7145

    oklch(66.6% 0.147 42)

  • #A59600

    #A59600

    oklch(66.5% 0.14 102.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4797EB

    #4797EB

    oklch(66.5% 0.148 251.9)

  • #DE697C

    #DE697C

    oklch(66.5% 0.147 11.8)

  • #71A63C

    #71A63C

    oklch(66.6% 0.148 131.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4797EB

    #4797EB

    oklch(66.5% 0.148 251.9)

  • #CF6CAD

    #CF6CAD

    oklch(66.5% 0.147 341.9)

  • #C98300

    #C98300

    oklch(66.6% 0.143 71.9)

  • #00AF78

    #00AF78

    oklch(66.6% 0.146 162)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #4797EB 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.