#4097EC

Closest named color: Chefchaouen Blue (#4895EF). oklch(66.4% 0.151 250.8), rgb(64, 151, 236).

Aa

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

About this color

#4097EC is a medium-light, vivid blue. In OKLCH its lightness is 66%, its chroma 0.151 and its hue 251°. 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.85:1.

Hue familyBlues
Lightnessmedium-light (66%)
Chromavivid (0.151)
Temperaturecool
Nearest nameChefchaouen Blue (#4895EF)
Black text6.85:1
White text3.06:1

Values

HEX#4097EC
RGBrgb(64, 151, 236)
HSLhsl(210, 82%, 59%)
OKLCHoklch(66.4% 0.151 250.8)

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 #4097EC 3.06:1 AA large text Lc -62.5 Content text, not long reading
Black text on #4097EC 6.85:1 AA Lc 46.9 Large or bold text, headings
#4097EC text on white 3.06:1 AA large text Lc 57.1 Large or bold text, headings
#4097EC text on black 6.85:1 AA Lc -44.6 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

    #C6DCF4

    oklch(88.6% 0.041 250.6)

  4. Step 300

    300

    #9DC5EF

    oklch(80.9% 0.073 250)

  5. Step 400

    400

    #65A5E8

    oklch(70.7% 0.119 250.9)

  6. Step 500

    500 (this color)

    #4097EC

    oklch(66.4% 0.151 250.8)

  7. Step 600

    600

    #0075CD

    oklch(55.6% 0.161 250.9)

  8. Step 700

    700

    #0062AD

    oklch(49.1% 0.142 250.8)

  9. Step 800

    800

    #00508F

    oklch(42.6% 0.123 250.8)

  10. Step 900

    900

    #0D4374

    oklch(37.7% 0.099 251)

  11. Step 950

    950

    #0B2844

    oklch(27.2% 0.062 250.6)

Export this scale for Tailwind in the Tailwind colors tool

#4097EC 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)#709CF00.048
Deuteranopia (no green cones)#568CEA0.031
Tritanopia (no blue cones)#00ABB60.114
Achromatopsia (no color)#9393930.151

Harmonies

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

Complementary

The opposite hue (180°).

  • #4097EC

    #4097EC

    oklch(66.4% 0.151 250.8)

  • #C98100

    #C98100

    oklch(66.2% 0.143 70.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4097EC

    #4097EC

    oklch(66.4% 0.151 250.8)

  • #00A3C7

    #00A3C7

    oklch(66.2% 0.121 221)

  • #8485ED

    #8485ED

    oklch(66.3% 0.152 281)

Open the analogous palette in the generator

Split complementary

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

  • #4097EC

    #4097EC

    oklch(66.4% 0.151 250.8)

  • #DE6E44

    #DE6E44

    oklch(66.2% 0.151 40.6)

  • #A69500

    #A69500

    oklch(66.4% 0.139 101.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4097EC

    #4097EC

    oklch(66.4% 0.151 250.8)

  • #DF667C

    #DF667C

    oklch(66.3% 0.152 10.9)

  • #72A536

    #72A536

    oklch(66.3% 0.151 130.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4097EC

    #4097EC

    oklch(66.4% 0.151 250.8)

  • #CF6AAF

    #CF6AAF

    oklch(66.3% 0.151 340.7)

  • #C98100

    #C98100

    oklch(66.2% 0.143 70.6)

  • #00AE74

    #00AE74

    oklch(66.3% 0.148 160.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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