#4097FD

Closest named color: Chefchaouen Blue (#4895EF). oklch(67.3% 0.172 254.6), rgb(64, 151, 253).

Aa

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

About this color

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

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

Values

HEX#4097FD
RGBrgb(64, 151, 253)
HSLhsl(212, 98%, 62%)
OKLCHoklch(67.3% 0.172 254.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 #4097FD 2.97:1 Fails Lc -61.2 Content text, not long reading
Black text on #4097FD 7.06:1 AAA Lc 48.1 Large or bold text, headings
#4097FD text on white 2.97:1 Fails Lc 55.9 Large or bold text, headings
#4097FD text on black 7.06:1 AAA Lc -45.9 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

    #DCEBFF

    oklch(93.5% 0.032 255.6)

  3. Step 200

    200

    #C0DCFF

    oklch(88.5% 0.057 254.1)

  4. Step 300

    300

    #95C4FF

    oklch(80.9% 0.098 254.5)

  5. Step 400

    400 (this color)

    #4097FD

    oklch(67.3% 0.172 254.6)

  6. Step 500

    500

    #0887FF

    oklch(63% 0.202 254.6)

  7. Step 600

    600

    #0071D9

    oklch(55.6% 0.181 254.6)

  8. Step 700

    700

    #005FB8

    oklch(49.1% 0.16 254.6)

  9. Step 800

    800

    #004D98

    oklch(42.6% 0.139 254.8)

  10. Step 900

    900

    #004080

    oklch(37.6% 0.123 254.7)

  11. Step 950

    950

    #002650

    oklch(27.2% 0.088 254.4)

Export this scale for Tailwind in the Tailwind colors tool

#4097FD 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)#669FFF0.041
Deuteranopia (no green cones)#468EFB0.023
Tritanopia (no blue cones)#00AFBE0.131
Achromatopsia (no color)#9696960.172

Harmonies

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

Complementary

The opposite hue (180°).

  • #4097FD

    #4097FD

    oklch(67.3% 0.172 254.6)

  • #C98700

    #C98700

    oklch(67.4% 0.142 74.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4097FD

    #4097FD

    oklch(67.3% 0.172 254.6)

  • #00A6D0

    #00A6D0

    oklch(67.4% 0.127 224.2)

  • #8D83FB

    #8D83FB

    oklch(67.4% 0.173 284.5)

Open the analogous palette in the generator

Split complementary

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

  • #4097FD

    #4097FD

    oklch(67.3% 0.172 254.6)

  • #E96C2B

    #E96C2B

    oklch(67.3% 0.172 44.6)

  • #A59A00

    #A59A00

    oklch(67.4% 0.143 104.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4097FD

    #4097FD

    oklch(67.3% 0.172 254.6)

  • #EC6174

    #EC6174

    oklch(67.3% 0.172 14.7)

  • #65AC2E

    #65AC2E

    oklch(67.3% 0.172 134.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4097FD

    #4097FD

    oklch(67.3% 0.172 254.6)

  • #DD64AF

    #DD64AF

    oklch(67.4% 0.173 344.6)

  • #C98700

    #C98700

    oklch(67.4% 0.142 74.5)

  • #00B17F

    #00B17F

    oklch(67.3% 0.143 164.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #4097FD 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.