#31A2FF

Closest named color: Chefchaouen Blue (#4895EF). oklch(69.5% 0.168 248.4), rgb(49, 162, 255).

Aa

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

About this color

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

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

Values

HEX#31A2FF
RGBrgb(49, 162, 255)
HSLhsl(207, 100%, 60%)
OKLCHoklch(69.5% 0.168 248.4)

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 #31A2FF 2.71:1 Fails Lc -57.3 Large or bold text, headings
Black text on #31A2FF 7.74:1 AAA Lc 51.9 Large or bold text, headings
#31A2FF text on white 2.71:1 Fails Lc 52.1 Large or bold text, headings
#31A2FF text on black 7.74:1 AAA Lc -49.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

    #EEF7FF

    oklch(97.2% 0.014 244.7)

  2. Step 100

    100

    #DBECFE

    oklch(93.6% 0.03 249.7)

  3. Step 200

    200

    #BCDDFF

    oklch(88.5% 0.059 249.3)

  4. Step 300

    300

    #8CC6FF

    oklch(80.8% 0.101 248.7)

  5. Step 400

    400 (this color)

    #31A2FF

    oklch(69.5% 0.168 248.4)

  6. Step 500

    500

    #008EEB

    oklch(63.2% 0.171 248.3)

  7. Step 600

    600

    #0077C6

    oklch(55.6% 0.15 248.2)

  8. Step 700

    700

    #0064A8

    oklch(49.2% 0.133 248.3)

  9. Step 800

    800

    #00518B

    oklch(42.6% 0.117 248.8)

  10. Step 900

    900

    #004475

    oklch(37.8% 0.103 248.3)

  11. Step 950

    950

    #002848

    oklch(27% 0.073 248.1)

Export this scale for Tailwind in the Tailwind colors tool

#31A2FF 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)#76A7FF0.058
Deuteranopia (no green cones)#5795FD0.038
Tritanopia (no blue cones)#00B8C40.121
Achromatopsia (no color)#9D9D9D0.168

Harmonies

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

Complementary

The opposite hue (180°).

  • #31A2FF

    #31A2FF

    oklch(69.5% 0.168 248.4)

  • #D98800

    #D98800

    oklch(69.5% 0.152 68.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #31A2FF

    #31A2FF

    oklch(69.5% 0.168 248.4)

  • #00AED1

    #00AED1

    oklch(69.4% 0.126 219)

  • #888FFF

    #888FFF

    oklch(69.5% 0.162 278.6)

Open the analogous palette in the generator

Split complementary

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

  • #31A2FF

    #31A2FF

    oklch(69.5% 0.168 248.4)

  • #F17147

    #F17147

    oklch(69.4% 0.168 38.5)

  • #B49D00

    #B49D00

    oklch(69.5% 0.144 98.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #31A2FF

    #31A2FF

    oklch(69.5% 0.168 248.4)

  • #F06988

    #F06988

    oklch(69.4% 0.168 8.3)

  • #7DAF27

    #7DAF27

    oklch(69.4% 0.167 128.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #31A2FF

    #31A2FF

    oklch(69.5% 0.168 248.4)

  • #DD6EC0

    #DD6EC0

    oklch(69.4% 0.169 338.2)

  • #D98800

    #D98800

    oklch(69.5% 0.152 68.4)

  • #00BA76

    #00BA76

    oklch(69.5% 0.161 158.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #31A2FF 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.