#31A0FA

Closest named color: Chefchaouen Blue (#4895EF). oklch(68.7% 0.164 248), rgb(49, 160, 250).

Aa

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

About this color

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

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

Values

HEX#31A0FA
RGBrgb(49, 160, 250)
HSLhsl(207, 95%, 59%)
OKLCHoklch(68.7% 0.164 248)

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 #31A0FA 2.78:1 Fails Lc -58.4 Large or bold text, headings
Black text on #31A0FA 7.53:1 AAA Lc 50.8 Large or bold text, headings
#31A0FA text on white 2.78:1 Fails Lc 53.2 Large or bold text, headings
#31A0FA text on black 7.53:1 AAA Lc -48.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

    #EFF7FF

    oklch(97.2% 0.014 248)

  2. Step 100

    100

    #DBECFD

    oklch(93.6% 0.029 248.1)

  3. Step 200

    200

    #BCDDFE

    oklch(88.4% 0.058 248.5)

  4. Step 300

    300

    #8BC7FF

    oklch(81% 0.101 247.5)

  5. Step 400

    400 (this color)

    #31A0FA

    oklch(68.7% 0.164 248)

  6. Step 500

    500

    #008EEA

    oklch(63.2% 0.17 248)

  7. Step 600

    600

    #0077C5

    oklch(55.6% 0.149 247.9)

  8. Step 700

    700

    #0064A7

    oklch(49.1% 0.132 247.9)

  9. Step 800

    800

    #00528A

    oklch(42.8% 0.115 247.8)

  10. Step 900

    900

    #004474

    oklch(37.7% 0.101 247.8)

  11. Step 950

    950

    #002848

    oklch(27% 0.073 248.1)

Export this scale for Tailwind in the Tailwind colors tool

#31A0FA 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)#75A5FE0.058
Deuteranopia (no green cones)#5793F80.039
Tritanopia (no blue cones)#00B6C10.119
Achromatopsia (no color)#9B9B9B0.164

Harmonies

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

Complementary

The opposite hue (180°).

  • #31A0FA

    #31A0FA

    oklch(68.7% 0.164 248)

  • #D68600

    #D68600

    oklch(68.8% 0.151 68.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #31A0FA

    #31A0FA

    oklch(68.7% 0.164 248)

  • #00ACCD

    #00ACCD

    oklch(68.7% 0.123 218)

  • #858DFE

    #858DFE

    oklch(68.8% 0.164 278.1)

Open the analogous palette in the generator

Split complementary

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

  • #31A0FA

    #31A0FA

    oklch(68.7% 0.164 248)

  • #ED7049

    #ED7049

    oklch(68.7% 0.164 37.9)

  • #B29A00

    #B29A00

    oklch(68.7% 0.142 98)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #31A0FA

    #31A0FA

    oklch(68.7% 0.164 248)

  • #EC6987

    #EC6987

    oklch(68.8% 0.164 8.1)

  • #7DAD28

    #7DAD28

    oklch(68.9% 0.165 128)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #31A0FA

    #31A0FA

    oklch(68.7% 0.164 248)

  • #D96EBD

    #D96EBD

    oklch(68.7% 0.163 338.1)

  • #D68600

    #D68600

    oklch(68.8% 0.151 68.4)

  • #00B773

    #00B773

    oklch(68.7% 0.16 158.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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