#31A6EF

Closest named color: Chefchaouen Blue (#4895EF). oklch(69.5% 0.147 241.7), rgb(49, 166, 239).

Aa

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

About this color

#31A6EF 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.046 away. Black text reads best on it, at 7.83:1.

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

Values

HEX#31A6EF
RGBrgb(49, 166, 239)
HSLhsl(203, 86%, 56%)
OKLCHoklch(69.5% 0.147 241.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 #31A6EF 2.68:1 Fails Lc -56.8 Large or bold text, headings
Black text on #31A6EF 7.83:1 AAA Lc 52.4 Large or bold text, headings
#31A6EF text on white 2.68:1 Fails Lc 51.6 Large or bold text, headings
#31A6EF text on black 7.83:1 AAA Lc -50.2 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

    #DBEDFA

    oklch(93.7% 0.026 239.1)

  3. Step 200

    200

    #BCDEF8

    oklch(88.4% 0.051 241.1)

  4. Step 300

    300

    #8AC8F7

    oklch(80.8% 0.092 242)

  5. Step 400

    400 (this color)

    #31A6EF

    oklch(69.5% 0.147 241.7)

  6. Step 500

    500

    #0092DB

    oklch(63.2% 0.149 241.7)

  7. Step 600

    600

    #007AB9

    oklch(55.5% 0.132 242.1)

  8. Step 700

    700

    #00679C

    oklch(49.2% 0.116 241.5)

  9. Step 800

    800

    #005481

    oklch(42.7% 0.101 241.9)

  10. Step 900

    900

    #00466C

    oklch(37.7% 0.089 241.5)

  11. Step 950

    950

    #002942

    oklch(26.9% 0.063 241.6)

Export this scale for Tailwind in the Tailwind colors tool

#31A6EF 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)#84A7F20.071
Deuteranopia (no green cones)#6A96EE0.056
Tritanopia (no blue cones)#00B8C00.099
Achromatopsia (no color)#9E9E9E0.147

Harmonies

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

Complementary

The opposite hue (180°).

  • #31A6EF

    #31A6EF

    oklch(69.5% 0.147 241.7)

  • #DC8527

    #DC8527

    oklch(69.5% 0.146 62)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #31A6EF

    #31A6EF

    oklch(69.5% 0.147 241.7)

  • #00B0C8

    #00B0C8

    oklch(69.5% 0.121 211.8)

  • #7D95F7

    #7D95F7

    oklch(69.4% 0.146 271.7)

Open the analogous palette in the generator

Split complementary

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

  • #31A6EF

    #31A6EF

    oklch(69.5% 0.147 241.7)

  • #E97661

    #E97661

    oklch(69.4% 0.147 31.8)

  • #BD9900

    #BD9900

    oklch(69.6% 0.142 91.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #31A6EF

    #31A6EF

    oklch(69.5% 0.147 241.7)

  • #E57296

    #E57296

    oklch(69.5% 0.147 1.8)

  • #8FAA32

    #8FAA32

    oklch(69.5% 0.146 121.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #31A6EF

    #31A6EF

    oklch(69.5% 0.147 241.7)

  • #D078C5

    #D078C5

    oklch(69.4% 0.146 331.7)

  • #DC8527

    #DC8527

    oklch(69.5% 0.146 62)

  • #48B66D

    #48B66D

    oklch(69.5% 0.147 151.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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