#4098EB

Closest named color: Chefchaouen Blue (#4895EF). oklch(66.5% 0.149 250), rgb(64, 152, 235).

Aa

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

About this color

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

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

Values

HEX#4098EB
RGBrgb(64, 152, 235)
HSLhsl(209, 81%, 59%)
OKLCHoklch(66.5% 0.149 250)

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 #4098EB 3.03:1 AA large text Lc -62.2 Content text, not long reading
Black text on #4098EB 6.90:1 AA Lc 47.2 Large or bold text, headings
#4098EB text on white 3.03:1 AA large text Lc 56.8 Large or bold text, headings
#4098EB text on black 6.90:1 AA Lc -44.9 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

    #65A5E7

    oklch(70.6% 0.118 250.5)

  6. Step 500

    500 (this color)

    #4098EB

    oklch(66.5% 0.149 250)

  7. Step 600

    600

    #0076CB

    oklch(55.7% 0.158 250)

  8. Step 700

    700

    #0063AB

    oklch(49.2% 0.138 249.7)

  9. Step 800

    800

    #00518E

    oklch(42.8% 0.121 249.9)

  10. Step 900

    900

    #0C4373

    oklch(37.6% 0.098 250.3)

  11. Step 950

    950

    #0A2843

    oklch(27% 0.061 249.3)

Export this scale for Tailwind in the Tailwind colors tool

#4098EB 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)#729DEE0.050
Deuteranopia (no green cones)#598DE90.032
Tritanopia (no blue cones)#00ACB60.112
Achromatopsia (no color)#9494940.149

Harmonies

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

Complementary

The opposite hue (180°).

  • #4098EB

    #4098EB

    oklch(66.5% 0.149 250)

  • #CB8100

    #CB8100

    oklch(66.5% 0.144 69.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4098EB

    #4098EB

    oklch(66.5% 0.149 250)

  • #00A4C7

    #00A4C7

    oklch(66.5% 0.121 220.2)

  • #8387ED

    #8387ED

    oklch(66.6% 0.149 279.8)

Open the analogous palette in the generator

Split complementary

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

  • #4098EB

    #4098EB

    oklch(66.5% 0.149 250)

  • #DE6F47

    #DE6F47

    oklch(66.4% 0.149 40)

  • #A89500

    #A89500

    oklch(66.6% 0.139 100.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4098EB

    #4098EB

    oklch(66.5% 0.149 250)

  • #DF687F

    #DF687F

    oklch(66.6% 0.15 10)

  • #75A537

    #75A537

    oklch(66.5% 0.149 129.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4098EB

    #4098EB

    oklch(66.5% 0.149 250)

  • #CE6CB0

    #CE6CB0

    oklch(66.5% 0.148 340)

  • #CB8100

    #CB8100

    oklch(66.5% 0.144 69.8)

  • #07AF73

    #07AF73

    oklch(66.6% 0.15 159.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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