#31A5EF

Closest named color: Chefchaouen Blue (#4895EF). oklch(69.3% 0.147 242.2), rgb(49, 165, 239).

Aa

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

About this color

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

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

Values

HEX#31A5EF
RGBrgb(49, 165, 239)
HSLhsl(203, 86%, 56%)
OKLCHoklch(69.3% 0.147 242.2)

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 #31A5EF 2.70:1 Fails Lc -57.2 Large or bold text, headings
Black text on #31A5EF 7.75:1 AAA Lc 52.0 Large or bold text, headings
#31A5EF text on white 2.70:1 Fails Lc 52.0 Large or bold text, headings
#31A5EF text on black 7.75: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

    #EFF7FD

    oklch(97.2% 0.012 239.9)

  2. Step 100

    100

    #DBEDFB

    oklch(93.7% 0.027 241.2)

  3. Step 200

    200

    #BCDEF9

    oklch(88.5% 0.052 242.2)

  4. Step 300

    300

    #8BC8F7

    oklch(80.9% 0.092 242.4)

  5. Step 400

    400 (this color)

    #31A5EF

    oklch(69.3% 0.147 242.2)

  6. Step 500

    500

    #0091DC

    oklch(63% 0.151 242.6)

  7. Step 600

    600

    #007AB9

    oklch(55.5% 0.132 242.1)

  8. Step 700

    700

    #00679D

    oklch(49.2% 0.117 242)

  9. Step 800

    800

    #005481

    oklch(42.7% 0.101 241.9)

  10. Step 900

    900

    #00466D

    oklch(37.8% 0.09 242.2)

  11. Step 950

    950

    #002943

    oklch(27% 0.065 242.6)

Export this scale for Tailwind in the Tailwind colors tool

#31A5EF 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)#82A7F20.069
Deuteranopia (no green cones)#6895EE0.054
Tritanopia (no blue cones)#00B7BF0.100
Achromatopsia (no color)#9D9D9D0.147

Harmonies

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

Complementary

The opposite hue (180°).

  • #31A5EF

    #31A5EF

    oklch(69.3% 0.147 242.2)

  • #DB8424

    #DB8424

    oklch(69.2% 0.147 62.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #31A5EF

    #31A5EF

    oklch(69.3% 0.147 242.2)

  • #00AFC8

    #00AFC8

    oklch(69.2% 0.121 212.5)

  • #7D94F7

    #7D94F7

    oklch(69.2% 0.148 272.2)

Open the analogous palette in the generator

Split complementary

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

  • #31A5EF

    #31A5EF

    oklch(69.3% 0.147 242.2)

  • #E9755F

    #E9755F

    oklch(69.2% 0.148 32.2)

  • #BB9800

    #BB9800

    oklch(69.2% 0.142 92.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #31A5EF

    #31A5EF

    oklch(69.3% 0.147 242.2)

  • #E57195

    #E57195

    oklch(69.3% 0.148 2.1)

  • #8DAA32

    #8DAA32

    oklch(69.3% 0.147 122.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #31A5EF

    #31A5EF

    oklch(69.3% 0.147 242.2)

  • #D077C4

    #D077C4

    oklch(69.2% 0.147 332.1)

  • #DB8424

    #DB8424

    oklch(69.2% 0.147 62.2)

  • #45B66D

    #45B66D

    oklch(69.4% 0.148 152)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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