#3997FF

Closest named color: Chefchaouen Blue (#4895EF). oklch(67.3% 0.177 253.8), rgb(57, 151, 255).

Aa

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

About this color

#3997FF is a medium-light, vivid blue. In OKLCH its lightness is 67%, its chroma 0.177 and its hue 254°. 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 7.04:1.

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

Values

HEX#3997FF
RGBrgb(57, 151, 255)
HSLhsl(212, 100%, 61%)
OKLCHoklch(67.3% 0.177 253.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 #3997FF 2.98:1 Fails Lc -61.3 Content text, not long reading
Black text on #3997FF 7.04:1 AAA Lc 48.1 Large or bold text, headings
#3997FF text on white 2.98:1 Fails Lc 56.0 Large or bold text, headings
#3997FF text on black 7.04:1 AAA Lc -45.8 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

    #DCECFF

    oklch(93.7% 0.031 252.7)

  3. Step 200

    200

    #C0DCFF

    oklch(88.5% 0.057 254.1)

  4. Step 300

    300

    #94C4FF

    oklch(80.8% 0.098 254)

  5. Step 400

    400 (this color)

    #3997FF

    oklch(67.3% 0.177 253.8)

  6. Step 500

    500

    #0088FD

    oklch(63.1% 0.199 253.8)

  7. Step 600

    600

    #0072D6

    oklch(55.6% 0.176 253.8)

  8. Step 700

    700

    #0060B5

    oklch(49.2% 0.155 253.6)

  9. Step 800

    800

    #004E96

    oklch(42.7% 0.135 253.8)

  10. Step 900

    900

    #00417E

    oklch(37.7% 0.118 253.6)

  11. Step 950

    950

    #00264F

    oklch(27.1% 0.086 254)

Export this scale for Tailwind in the Tailwind colors tool

#3997FF 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)#649FFF0.043
Deuteranopia (no green cones)#418DFD0.025
Tritanopia (no blue cones)#00B0BF0.133
Achromatopsia (no color)#9595950.177

Harmonies

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

Complementary

The opposite hue (180°).

  • #3997FF

    #3997FF

    oklch(67.3% 0.177 253.8)

  • #C98600

    #C98600

    oklch(67.2% 0.142 73.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3997FF

    #3997FF

    oklch(67.3% 0.177 253.8)

  • #00A6CF

    #00A6CF

    oklch(67.3% 0.126 223.6)

  • #8B82FD

    #8B82FD

    oklch(67.2% 0.177 283.9)

Open the analogous palette in the generator

Split complementary

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

  • #3997FF

    #3997FF

    oklch(67.3% 0.177 253.8)

  • #EB6A28

    #EB6A28

    oklch(67.3% 0.176 44)

  • #A59900

    #A59900

    oklch(67.2% 0.142 104)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3997FF

    #3997FF

    oklch(67.3% 0.177 253.8)

  • #EE5E75

    #EE5E75

    oklch(67.2% 0.178 13.6)

  • #66AC25

    #66AC25

    oklch(67.3% 0.177 133.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3997FF

    #3997FF

    oklch(67.3% 0.177 253.8)

  • #DE62B1

    #DE62B1

    oklch(67.3% 0.178 343.9)

  • #C98600

    #C98600

    oklch(67.2% 0.142 73.9)

  • #00B17E

    #00B17E

    oklch(67.3% 0.143 164)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #3997FF 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.