#31A4E7

Closest named color: Chefchaouen Blue (#4895EF). oklch(68.6% 0.14 239.8), rgb(49, 164, 231).

Aa

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

About this color

#31A4E7 is a medium-light, moderately saturated blue. In OKLCH its lightness is 69%, its chroma 0.140 and its hue 240°. Its hue sits on the cool side of the wheel. The nearest named color is Chefchaouen Blue (#4895EF), ΔE 0.045 away. Black text reads best on it, at 7.59:1.

Hue familyBlues
Lightnessmedium-light (69%)
Chromamoderately saturated (0.140)
Temperaturecool
Nearest nameChefchaouen Blue (#4895EF)
Black text7.59:1
White text2.76:1

Values

HEX#31A4E7
RGBrgb(49, 164, 231)
HSLhsl(202, 79%, 55%)
OKLCHoklch(68.6% 0.14 239.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 #31A4E7 2.76:1 Fails Lc -58.2 Large or bold text, headings
Black text on #31A4E7 7.59:1 AAA Lc 51.1 Large or bold text, headings
#31A4E7 text on white 2.76:1 Fails Lc 52.9 Large or bold text, headings
#31A4E7 text on black 7.59:1 AAA Lc -48.9 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

    #EFF7FD

    oklch(97.2% 0.012 239.9)

  2. Step 100

    100

    #DBEDF9

    oklch(93.6% 0.025 236.8)

  3. Step 200

    200

    #BDDEF6

    oklch(88.4% 0.048 239.7)

  4. Step 300

    300

    #8CC9F4

    oklch(81% 0.087 239.9)

  5. Step 400

    400 (this color)

    #31A4E7

    oklch(68.6% 0.14 239.8)

  6. Step 500

    500

    #0093D7

    oklch(63.2% 0.144 239.7)

  7. Step 600

    600

    #007BB5

    oklch(55.6% 0.127 239.8)

  8. Step 700

    700

    #006799

    oklch(49% 0.112 240)

  9. Step 800

    800

    #00557E

    oklch(42.8% 0.097 239.2)

  10. Step 900

    900

    #00466A

    oklch(37.6% 0.086 240.1)

  11. Step 950

    950

    #002A41

    oklch(27.1% 0.061 239)

Export this scale for Tailwind in the Tailwind colors tool

#31A4E7 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)#84A5EA0.072
Deuteranopia (no green cones)#6C94E60.058
Tritanopia (no blue cones)#00B5BB0.094
Achromatopsia (no color)#9B9B9B0.140

Harmonies

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

Complementary

The opposite hue (180°).

  • #31A4E7

    #31A4E7

    oklch(68.6% 0.14 239.8)

  • #D88332

    #D88332

    oklch(68.7% 0.139 60)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #31A4E7

    #31A4E7

    oklch(68.6% 0.14 239.8)

  • #00ADC2

    #00ADC2

    oklch(68.5% 0.118 210)

  • #7894F0

    #7894F0

    oklch(68.5% 0.14 269.7)

Open the analogous palette in the generator

Split complementary

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

  • #31A4E7

    #31A4E7

    oklch(68.6% 0.14 239.8)

  • #E37565

    #E37565

    oklch(68.5% 0.14 29.7)

  • #BC9503

    #BC9503

    oklch(68.7% 0.14 89.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #31A4E7

    #31A4E7

    oklch(68.6% 0.14 239.8)

  • #DE7297

    #DE7297

    oklch(68.6% 0.14 359.7)

  • #90A634

    #90A634

    oklch(68.6% 0.14 119.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #31A4E7

    #31A4E7

    oklch(68.6% 0.14 239.8)

  • #CA78C3

    #CA78C3

    oklch(68.6% 0.14 330.1)

  • #D88332

    #D88332

    oklch(68.7% 0.139 60)

  • #51B26A

    #51B26A

    oklch(68.7% 0.14 149.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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