#4797F2

Closest named color: Chefchaouen Blue (#4895EF). oklch(66.9% 0.157 253.6), rgb(71, 151, 242).

Aa

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

About this color

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

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

Values

HEX#4797F2
RGBrgb(71, 151, 242)
HSLhsl(212, 87%, 61%)
OKLCHoklch(66.9% 0.157 253.6)

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 #4797F2 3.01:1 AA large text Lc -61.8 Content text, not long reading
Black text on #4797F2 6.97:1 AA Lc 47.6 Large or bold text, headings
#4797F2 text on white 3.01:1 AA large text Lc 56.5 Large or bold text, headings
#4797F2 text on black 6.97:1 AA Lc -45.3 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

    #DDEBFD

    oklch(93.5% 0.029 254.7)

  3. Step 200

    200

    #C1DCFD

    oklch(88.5% 0.054 253.6)

  4. Step 300

    300

    #94C4FF

    oklch(80.8% 0.098 254)

  5. Step 400

    400 (this color)

    #4797F2

    oklch(66.9% 0.157 253.6)

  6. Step 500

    500

    #0088FD

    oklch(63.1% 0.199 253.8)

  7. Step 600

    600

    #0072D6

    oklch(55.6% 0.176 253.8)

  8. Step 700

    700

    #0060B5

    oklch(49.2% 0.155 253.6)

  9. Step 800

    800

    #004E96

    oklch(42.7% 0.135 253.8)

  10. Step 900

    900

    #00417E

    oklch(37.7% 0.118 253.6)

  11. Step 950

    950

    #01264D

    oklch(26.9% 0.083 253.5)

Export this scale for Tailwind in the Tailwind colors tool

#4797F2 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)#6D9DF60.041
Deuteranopia (no green cones)#538DF00.026
Tritanopia (no blue cones)#00ACB90.120
Achromatopsia (no color)#9595950.157

Harmonies

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

Complementary

The opposite hue (180°).

  • #4797F2

    #4797F2

    oklch(66.9% 0.157 253.6)

  • #C88500

    #C88500

    oklch(66.9% 0.142 73.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4797F2

    #4797F2

    oklch(66.9% 0.157 253.6)

  • #00A5CD

    #00A5CD

    oklch(67% 0.125 223.2)

  • #8A85F1

    #8A85F1

    oklch(66.9% 0.157 283.4)

Open the analogous palette in the generator

Split complementary

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

  • #4797F2

    #4797F2

    oklch(66.9% 0.157 253.6)

  • #E2703B

    #E2703B

    oklch(67% 0.157 43.8)

  • #A59800

    #A59800

    oklch(67% 0.141 103.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4797F2

    #4797F2

    oklch(66.9% 0.157 253.6)

  • #E46678

    #E46678

    oklch(66.9% 0.157 13.6)

  • #6CA93A

    #6CA93A

    oklch(67% 0.156 133.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4797F2

    #4797F2

    oklch(66.9% 0.157 253.6)

  • #D569AD

    #D569AD

    oklch(66.9% 0.157 343.6)

  • #C88500

    #C88500

    oklch(66.9% 0.142 73.7)

  • #00B07C

    #00B07C

    oklch(67% 0.144 163.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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