#31A8F9

Closest named color: Chefchaouen Blue (#4895EF). oklch(70.5% 0.156 244), rgb(49, 168, 249).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-light (70%)
Chromavivid (0.156)
Temperaturecool
Nearest nameChefchaouen Blue (#4895EF)
Black text8.09:1
White text2.59:1

Values

HEX#31A8F9
RGBrgb(49, 168, 249)
HSLhsl(204, 94%, 58%)
OKLCHoklch(70.5% 0.156 244)

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 #31A8F9 2.59:1 Fails Lc -55.3 Large or bold text, headings
Black text on #31A8F9 8.09:1 AAA Lc 53.8 Large or bold text, headings
#31A8F9 text on white 2.59:1 Fails Lc 50.2 Large or bold text, headings
#31A8F9 text on black 8.09:1 AAA Lc -51.7 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

    #DBEDFC

    oklch(93.7% 0.028 243.1)

  3. Step 200

    200

    #BCDEFB

    oklch(88.5% 0.054 244.2)

  4. Step 300

    300

    #89C8FB

    oklch(80.9% 0.097 243.8)

  5. Step 400

    400 (this color)

    #31A8F9

    oklch(70.5% 0.156 244)

  6. Step 500

    500

    #0090E0

    oklch(63% 0.157 244.4)

  7. Step 600

    600

    #0079BD

    oklch(55.5% 0.138 244.2)

  8. Step 700

    700

    #0066A0

    oklch(49.2% 0.121 244)

  9. Step 800

    800

    #005384

    oklch(42.6% 0.106 244.3)

  10. Step 900

    900

    #00456F

    oklch(37.6% 0.093 244.3)

  11. Step 950

    950

    #002944

    oklch(27% 0.066 243.6)

Export this scale for Tailwind in the Tailwind colors tool

#31A8F9 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)#82ABFC0.068
Deuteranopia (no green cones)#6699F70.050
Tritanopia (no blue cones)#00BCC50.109
Achromatopsia (no color)#A1A1A10.156

Harmonies

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

Complementary

The opposite hue (180°).

  • #31A8F9

    #31A8F9

    oklch(70.5% 0.156 244)

  • #E28710

    #E28710

    oklch(70.5% 0.156 63.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #31A8F9

    #31A8F9

    oklch(70.5% 0.156 244)

  • #00B3CF

    #00B3CF

    oklch(70.5% 0.124 214.1)

  • #8396FF

    #8396FF

    oklch(70.5% 0.155 274)

Open the analogous palette in the generator

Split complementary

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

  • #31A8F9

    #31A8F9

    oklch(70.5% 0.156 244)

  • #F1775B

    #F1775B

    oklch(70.6% 0.156 34.2)

  • #BE9D00

    #BE9D00

    oklch(70.5% 0.145 93.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #31A8F9

    #31A8F9

    oklch(70.5% 0.156 244)

  • #ED7195

    #ED7195

    oklch(70.4% 0.156 3.6)

  • #8CAF2F

    #8CAF2F

    oklch(70.4% 0.156 123.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #31A8F9

    #31A8F9

    oklch(70.5% 0.156 244)

  • #D977C8

    #D977C8

    oklch(70.5% 0.157 333.9)

  • #E28710

    #E28710

    oklch(70.5% 0.156 63.7)

  • #39BB71

    #39BB71

    oklch(70.4% 0.156 153.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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