#31A2FB

Closest named color: Chefchaouen Blue (#4895EF). oklch(69.2% 0.163 247.4), rgb(49, 162, 251).

Aa

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

About this color

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

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

Values

HEX#31A2FB
RGBrgb(49, 162, 251)
HSLhsl(206, 96%, 59%)
OKLCHoklch(69.2% 0.163 247.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 #31A2FB 2.73:1 Fails Lc -57.6 Large or bold text, headings
Black text on #31A2FB 7.69:1 AAA Lc 51.7 Large or bold text, headings
#31A2FB text on white 2.73:1 Fails Lc 52.4 Large or bold text, headings
#31A2FB text on black 7.69:1 AAA Lc -49.5 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

    #EEF7FE

    oklch(97.1% 0.013 241)

  2. Step 100

    100

    #DBECFD

    oklch(93.6% 0.029 248.1)

  3. Step 200

    200

    #BCDDFD

    oklch(88.4% 0.057 247.7)

  4. Step 300

    300

    #8AC7FF

    oklch(80.9% 0.101 247.1)

  5. Step 400

    400 (this color)

    #31A2FB

    oklch(69.2% 0.163 247.4)

  6. Step 500

    500

    #008EE8

    oklch(63% 0.168 247.5)

  7. Step 600

    600

    #0077C4

    oklch(55.5% 0.148 247.6)

  8. Step 700

    700

    #0064A6

    oklch(49.1% 0.131 247.6)

  9. Step 800

    800

    #005289

    oklch(42.7% 0.113 247.3)

  10. Step 900

    900

    #004473

    oklch(37.7% 0.1 247.4)

  11. Step 950

    950

    #002847

    oklch(27% 0.072 247.4)

Export this scale for Tailwind in the Tailwind colors tool

#31A2FB 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)#78A6FF0.060
Deuteranopia (no green cones)#5A94F90.042
Tritanopia (no blue cones)#00B7C30.116
Achromatopsia (no color)#9C9C9C0.163

Harmonies

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

Complementary

The opposite hue (180°).

  • #31A2FB

    #31A2FB

    oklch(69.2% 0.163 247.4)

  • #D98600

    #D98600

    oklch(69.1% 0.153 67.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #31A2FB

    #31A2FB

    oklch(69.2% 0.163 247.4)

  • #00AECE

    #00AECE

    oklch(69.2% 0.124 217.2)

  • #858FFF

    #858FFF

    oklch(69.3% 0.163 277.4)

Open the analogous palette in the generator

Split complementary

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

  • #31A2FB

    #31A2FB

    oklch(69.2% 0.163 247.4)

  • #EF724C

    #EF724C

    oklch(69.3% 0.163 37.6)

  • #B59B00

    #B59B00

    oklch(69.2% 0.143 97.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #31A2FB

    #31A2FB

    oklch(69.2% 0.163 247.4)

  • #ED6A8A

    #ED6A8A

    oklch(69.1% 0.164 7.1)

  • #80AE29

    #80AE29

    oklch(69.3% 0.164 127.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #31A2FB

    #31A2FB

    oklch(69.2% 0.163 247.4)

  • #DA70C0

    #DA70C0

    oklch(69.3% 0.163 337.3)

  • #D98600

    #D98600

    oklch(69.1% 0.153 67.3)

  • #01B972

    #01B972

    oklch(69.2% 0.164 157.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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