#3998EB

Closest named color: Chefchaouen Blue (#4895EF). oklch(66.3% 0.152 248.8), rgb(57, 152, 235).

Aa

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

About this color

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

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

Values

HEX#3998EB
RGBrgb(57, 152, 235)
HSLhsl(208, 82%, 57%)
OKLCHoklch(66.3% 0.152 248.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 #3998EB 3.05:1 AA large text Lc -62.4 Content text, not long reading
Black text on #3998EB 6.86:1 AA Lc 47.0 Large or bold text, headings
#3998EB text on white 3.05:1 AA large text Lc 57.1 Large or bold text, headings
#3998EB text on black 6.86:1 AA Lc -44.7 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

    #F0F6FC

    oklch(97% 0.01 247.9)

  2. Step 100

    100

    #DFEBF8

    oklch(93.5% 0.022 250.2)

  3. Step 200

    200

    #C5DCF4

    oklch(88.5% 0.041 249.4)

  4. Step 300

    300

    #9CC5EF

    oklch(80.9% 0.074 249.4)

  5. Step 400

    400

    #62A6E7

    oklch(70.7% 0.118 248.8)

  6. Step 500

    500 (this color)

    #3998EB

    oklch(66.3% 0.152 248.8)

  7. Step 600

    600

    #0077C7

    oklch(55.7% 0.152 248.5)

  8. Step 700

    700

    #0063A9

    oklch(49% 0.136 249.1)

  9. Step 800

    800

    #00518B

    oklch(42.6% 0.117 248.8)

  10. Step 900

    900

    #064473

    oklch(37.8% 0.098 248.4)

  11. Step 950

    950

    #082843

    oklch(27% 0.062 248.2)

Export this scale for Tailwind in the Tailwind colors tool

#3998EB 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)#719CEE0.052
Deuteranopia (no green cones)#578CE90.036
Tritanopia (no blue cones)#00ACB60.112
Achromatopsia (no color)#9393930.152

Harmonies

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

Complementary

The opposite hue (180°).

  • #3998EB

    #3998EB

    oklch(66.3% 0.152 248.8)

  • #CB8000

    #CB8000

    oklch(66.3% 0.144 69.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3998EB

    #3998EB

    oklch(66.3% 0.152 248.8)

  • #00A4C4

    #00A4C4

    oklch(66.4% 0.119 218.3)

  • #8087EE

    #8087EE

    oklch(66.4% 0.151 278.5)

Open the analogous palette in the generator

Split complementary

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

  • #3998EB

    #3998EB

    oklch(66.3% 0.152 248.8)

  • #DF6D48

    #DF6D48

    oklch(66.3% 0.152 38.5)

  • #A99300

    #A99300

    oklch(66.3% 0.137 98.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3998EB

    #3998EB

    oklch(66.3% 0.152 248.8)

  • #DE6680

    #DE6680

    oklch(66.2% 0.151 8.6)

  • #76A431

    #76A431

    oklch(66.3% 0.151 128.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3998EB

    #3998EB

    oklch(66.3% 0.152 248.8)

  • #CD6AB2

    #CD6AB2

    oklch(66.2% 0.152 338.5)

  • #CB8000

    #CB8000

    oklch(66.3% 0.144 69.1)

  • #08AE70

    #08AE70

    oklch(66.2% 0.151 159)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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