#31A2DF

Closest named color: Chefchaouen Blue (#4895EF). oklch(67.8% 0.133 237.7), rgb(49, 162, 223).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-light (68%)
Chromamoderately saturated (0.133)
Temperaturecool
Nearest nameChefchaouen Blue (#4895EF)
Black text7.36:1
White text2.85:1

Values

HEX#31A2DF
RGBrgb(49, 162, 223)
HSLhsl(201, 73%, 53%)
OKLCHoklch(67.8% 0.133 237.7)

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 #31A2DF 2.85:1 Fails Lc -59.5 Large or bold text, headings
Black text on #31A2DF 7.36:1 AAA Lc 49.8 Large or bold text, headings
#31A2DF text on white 2.85:1 Fails Lc 54.2 Large or bold text, headings
#31A2DF text on black 7.36:1 AAA Lc -47.6 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

    #EFF7FC

    oklch(97.2% 0.011 234.8)

  2. Step 100

    100

    #DCEDF8

    oklch(93.7% 0.023 236)

  3. Step 200

    200

    #BEDEF4

    oklch(88.4% 0.046 238.1)

  4. Step 300

    300

    #8DC9F0

    oklch(80.9% 0.083 237.6)

  5. Step 400

    400 (this color)

    #31A2DF

    oklch(67.8% 0.133 237.7)

  6. Step 500

    500

    #0094D3

    oklch(63.2% 0.139 237.5)

  7. Step 600

    600

    #007CB2

    oklch(55.6% 0.123 237.7)

  8. Step 700

    700

    #006896

    oklch(49.1% 0.108 237.6)

  9. Step 800

    800

    #00557C

    oklch(42.7% 0.094 237.9)

  10. Step 900

    900

    #004768

    oklch(37.7% 0.083 237.5)

  11. Step 950

    950

    #002A40

    oklch(27% 0.06 237.8)

Export this scale for Tailwind in the Tailwind colors tool

#31A2DF 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)#85A2E20.074
Deuteranopia (no green cones)#6D92DE0.060
Tritanopia (no blue cones)#00B2B70.087
Achromatopsia (no color)#9999990.133

Harmonies

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

Complementary

The opposite hue (180°).

  • #31A2DF

    #31A2DF

    oklch(67.8% 0.133 237.7)

  • #D4803A

    #D4803A

    oklch(67.7% 0.133 57.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #31A2DF

    #31A2DF

    oklch(67.8% 0.133 237.7)

  • #00ABBC

    #00ABBC

    oklch(67.8% 0.116 207.3)

  • #7493E9

    #7493E9

    oklch(67.7% 0.132 267.8)

Open the analogous palette in the generator

Split complementary

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

  • #31A2DF

    #31A2DF

    oklch(67.8% 0.133 237.7)

  • #DD7569

    #DD7569

    oklch(67.8% 0.132 27.9)

  • #BA9118

    #BA9118

    oklch(67.7% 0.133 87.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #31A2DF

    #31A2DF

    oklch(67.8% 0.133 237.7)

  • #D77298

    #D77298

    oklch(67.7% 0.133 357.3)

  • #91A236

    #91A236

    oklch(67.8% 0.133 117.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #31A2DF

    #31A2DF

    oklch(67.8% 0.133 237.7)

  • #C378C1

    #C378C1

    oklch(67.7% 0.133 327.9)

  • #D4803A

    #D4803A

    oklch(67.7% 0.133 57.3)

  • #58AD67

    #58AD67

    oklch(67.6% 0.132 147.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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