#4098E2

Closest named color: Chefchaouen Blue (#4895EF). oklch(66% 0.139 247.3), rgb(64, 152, 226).

Aa

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

About this color

#4098E2 is a medium-light, moderately saturated blue. In OKLCH its lightness is 66%, its chroma 0.139 and its hue 247°. Its hue sits on the cool side of the wheel. The nearest named color is Chefchaouen Blue (#4895EF), ΔE 0.024 away. Black text reads best on it, at 6.80:1.

Hue familyBlues
Lightnessmedium-light (66%)
Chromamoderately saturated (0.139)
Temperaturecool
Nearest nameChefchaouen Blue (#4895EF)
Black text6.80:1
White text3.08:1

Values

HEX#4098E2
RGBrgb(64, 152, 226)
HSLhsl(207, 74%, 57%)
OKLCHoklch(66% 0.139 247.3)

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 #4098E2 3.08:1 AA large text Lc -62.8 Content text, not long reading
Black text on #4098E2 6.80:1 AA Lc 46.6 Large or bold text, headings
#4098E2 text on white 3.08:1 AA large text Lc 57.4 Large or bold text, headings
#4098E2 text on black 6.80:1 AA Lc -44.3 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

    #F1F6FB

    oklch(97.1% 0.009 247.9)

  2. Step 100

    100

    #E0EBF7

    oklch(93.5% 0.02 250.4)

  3. Step 200

    200

    #C6DCF1

    oklch(88.5% 0.037 247)

  4. Step 300

    300

    #9EC5EB

    oklch(80.8% 0.068 248)

  5. Step 400

    400

    #66A6E1

    oklch(70.6% 0.109 247.7)

  6. Step 500

    500 (this color)

    #4098E2

    oklch(66% 0.139 247.3)

  7. Step 600

    600

    #0077C4

    oklch(55.5% 0.148 247.6)

  8. Step 700

    700

    #0064A6

    oklch(49.1% 0.131 247.6)

  9. Step 800

    800

    #005289

    oklch(42.7% 0.113 247.3)

  10. Step 900

    900

    #0E446F

    oklch(37.7% 0.091 247.9)

  11. Step 950

    950

    #0B2841

    oklch(26.9% 0.058 248)

Export this scale for Tailwind in the Tailwind colors tool

#4098E2 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)#769BE50.053
Deuteranopia (no green cones)#5F8CE10.038
Tritanopia (no blue cones)#00AAB30.102
Achromatopsia (no color)#9393930.139

Harmonies

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

Complementary

The opposite hue (180°).

  • #4098E2

    #4098E2

    oklch(66% 0.139 247.3)

  • #C97F19

    #C97F19

    oklch(66% 0.138 67.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4098E2

    #4098E2

    oklch(66% 0.139 247.3)

  • #00A3C1

    #00A3C1

    oklch(66% 0.118 217.1)

  • #7E88E6

    #7E88E6

    oklch(66% 0.139 277.3)

Open the analogous palette in the generator

Split complementary

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

  • #4098E2

    #4098E2

    oklch(66% 0.139 247.3)

  • #D97051

    #D97051

    oklch(66% 0.139 37.3)

  • #AA9200

    #AA9200

    oklch(66.2% 0.137 97.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4098E2

    #4098E2

    oklch(66% 0.139 247.3)

  • #D76A83

    #D76A83

    oklch(65.9% 0.139 7.2)

  • #7BA13A

    #7BA13A

    oklch(65.9% 0.138 127.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4098E2

    #4098E2

    oklch(66% 0.139 247.3)

  • #C76EB0

    #C76EB0

    oklch(65.9% 0.139 337.5)

  • #C97F19

    #C97F19

    oklch(66% 0.138 67.4)

  • #31AB70

    #31AB70

    oklch(66% 0.138 157.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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