#4098FA

Closest named color: Chefchaouen Blue (#4895EF). oklch(67.4% 0.168 253.6), rgb(64, 152, 250).

Aa

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

About this color

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

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

Values

HEX#4098FA
RGBrgb(64, 152, 250)
HSLhsl(212, 95%, 62%)
OKLCHoklch(67.4% 0.168 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 #4098FA 2.96:1 Fails Lc -61.1 Content text, not long reading
Black text on #4098FA 7.08:1 AAA Lc 48.3 Large or bold text, headings
#4098FA text on white 2.96:1 Fails Lc 55.8 Large or bold text, headings
#4098FA text on black 7.08:1 AAA Lc -46.0 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

    #DCECFE

    oklch(93.7% 0.03 251.3)

  3. Step 200

    200

    #BFDCFF

    oklch(88.5% 0.058 253.3)

  4. Step 300

    300

    #94C4FF

    oklch(80.8% 0.098 254)

  5. Step 400

    400 (this color)

    #4098FA

    oklch(67.4% 0.168 253.6)

  6. Step 500

    500

    #0088FC

    oklch(63% 0.198 253.6)

  7. Step 600

    600

    #0072D5

    oklch(55.5% 0.175 253.6)

  8. Step 700

    700

    #0060B5

    oklch(49.2% 0.155 253.6)

  9. Step 800

    800

    #004E95

    oklch(42.6% 0.134 253.6)

  10. Step 900

    900

    #00417E

    oklch(37.7% 0.118 253.6)

  11. Step 950

    950

    #00264E

    oklch(27% 0.085 253.5)

Export this scale for Tailwind in the Tailwind colors tool

#4098FA 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)#699FFE0.043
Deuteranopia (no green cones)#4B8EF80.026
Tritanopia (no blue cones)#00AFBD0.127
Achromatopsia (no color)#9696960.168

Harmonies

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

Complementary

The opposite hue (180°).

  • #4098FA

    #4098FA

    oklch(67.4% 0.168 253.6)

  • #CA8600

    #CA8600

    oklch(67.3% 0.143 73.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4098FA

    #4098FA

    oklch(67.4% 0.168 253.6)

  • #00A6CF

    #00A6CF

    oklch(67.3% 0.126 223.6)

  • #8B84F9

    #8B84F9

    oklch(67.3% 0.169 283.6)

Open the analogous palette in the generator

Split complementary

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

  • #4098FA

    #4098FA

    oklch(67.4% 0.168 253.6)

  • #E86D33

    #E86D33

    oklch(67.3% 0.168 43.4)

  • #A69900

    #A69900

    oklch(67.3% 0.142 103.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4098FA

    #4098FA

    oklch(67.4% 0.168 253.6)

  • #EA6377

    #EA6377

    oklch(67.3% 0.167 13.7)

  • #6AAB30

    #6AAB30

    oklch(67.3% 0.167 133.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4098FA

    #4098FA

    oklch(67.4% 0.168 253.6)

  • #DB66B0

    #DB66B0

    oklch(67.4% 0.169 343.8)

  • #CA8600

    #CA8600

    oklch(67.3% 0.143 73.4)

  • #00B17D

    #00B17D

    oklch(67.3% 0.144 163.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #4098FA 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.