#4797FC

Closest named color: Chefchaouen Blue (#4895EF). oklch(67.5% 0.169 255.7), rgb(71, 151, 252).

Aa

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

About this color

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

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

Values

HEX#4797FC
RGBrgb(71, 151, 252)
HSLhsl(213, 97%, 63%)
OKLCHoklch(67.5% 0.169 255.7)

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 #4797FC 2.95:1 Fails Lc -61.1 Content text, not long reading
Black text on #4797FC 7.10:1 AAA Lc 48.3 Large or bold text, headings
#4797FC text on white 2.95:1 Fails Lc 55.7 Large or bold text, headings
#4797FC text on black 7.10:1 AAA Lc -46.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

    #EFF6FF

    oklch(97% 0.014 254.6)

  2. Step 100

    100

    #DDEBFF

    oklch(93.6% 0.031 257.2)

  3. Step 200

    200

    #C1DCFF

    oklch(88.6% 0.056 255)

  4. Step 300

    300

    #97C4FF

    oklch(81% 0.097 255.4)

  5. Step 400

    400 (this color)

    #4797FC

    oklch(67.5% 0.169 255.7)

  6. Step 500

    500

    #1986FF

    oklch(63% 0.202 255.7)

  7. Step 600

    600

    #0070DD

    oklch(55.6% 0.187 255.6)

  8. Step 700

    700

    #005EBB

    oklch(49.1% 0.165 255.5)

  9. Step 800

    800

    #004C9B

    oklch(42.6% 0.144 255.8)

  10. Step 900

    900

    #003F83

    oklch(37.6% 0.128 255.9)

  11. Step 950

    950

    #012551

    oklch(27% 0.09 256)

Export this scale for Tailwind in the Tailwind colors tool

#4797FC 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)#679FFF0.038
Deuteranopia (no green cones)#4A8EFA0.023
Tritanopia (no blue cones)#00AFBD0.132
Achromatopsia (no color)#9696960.169

Harmonies

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

Complementary

The opposite hue (180°).

  • #4797FC

    #4797FC

    oklch(67.5% 0.169 255.7)

  • #C88800

    #C88800

    oklch(67.4% 0.142 75.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4797FC

    #4797FC

    oklch(67.5% 0.169 255.7)

  • #00A6D3

    #00A6D3

    oklch(67.5% 0.129 225.9)

  • #8F83F9

    #8F83F9

    oklch(67.4% 0.17 285.5)

Open the analogous palette in the generator

Split complementary

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

  • #4797FC

    #4797FC

    oklch(67.5% 0.169 255.7)

  • #E86E2C

    #E86E2C

    oklch(67.4% 0.169 45.4)

  • #A49B00

    #A49B00

    oklch(67.6% 0.144 105.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4797FC

    #4797FC

    oklch(67.5% 0.169 255.7)

  • #EC6373

    #EC6373

    oklch(67.5% 0.169 15.8)

  • #64AD36

    #64AD36

    oklch(67.5% 0.169 135.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4797FC

    #4797FC

    oklch(67.5% 0.169 255.7)

  • #DD66AD

    #DD66AD

    oklch(67.5% 0.168 345.7)

  • #C88800

    #C88800

    oklch(67.4% 0.142 75.6)

  • #00B182

    #00B182

    oklch(67.4% 0.14 165.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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