#31A7E2#31A7E2

#31A7E2 is a light, vivid cyan. Relative luminance 0.338; OKLCH L 69.1% C 0.133 H 235.8°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#31A7E2
RGBrgb(49, 167, 226)
HSLhsl(200, 75%, 54%)
HSVhsv(200, 78%, 89%)
CMYKcmyk(78.3%, 26.1%, 0%, 11.4%)
CIE-LABlab(64.79, -12.36, -38.85)
CIE-LCHlch(64.79, 40.77, 252.36°)
OKLaboklab(69.07% -0.0745 -0.1097)
OKLCHoklch(69.07% 0.133 235.8)
XYZxyz(28.8073, 33.7779, 76.9383)
Luminance0.3378 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A7E2 #E26C31
analogous
#31E2C5 #31A7E2 #314FE2
triadic
#31A7E2 #E231A7 #A7E231
tetradic
#31A7E2 #C531E2 #E26C31 #4FE231
square
#31A7E2 #C531E2 #E26C31 #4FE231
split-complementary
#31A7E2 #E2314F #E2C531
monochromatic
#135F86 #1A86BB #31A7E2 #67BEEA #9CD5F1

Accessibility & contrast

On white

2.71
#31A7E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#31A7E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31A7E2
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A7E2#FFFFFF#000000##000000
##31A7E21.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AA6E5
Deuteranopia (green-blind)
#7396E1
Tritanopia (blue-blind)
#00B6BB
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #31a7e2;
/* rgb */ color: rgb(49, 167, 226);
/* oklch */ color: oklch(69.1% 0.133 235.8);
Tailwind
colors: {
  custom: {
    50: '#84c1eb',
    500: '#31a7e2',
    950: '#000000',
  },
}
SCSS
$custom: #31a7e2;
$custom-light: #84c1eb;
$custom-dark: #000000;
JSON
{
  "hex": "#31a7e2",
  "rgb": {
    "r": 49,
    "g": 167,
    "b": 226
  },
  "hsl": {
    "h": 200,
    "s": 75.319,
    "l": 53.922
  },
  "oklch": {
    "l": 0.69068,
    "c": 0.13264,
    "h": 235.8
  },
  "luminance": 0.33781
}

Semantic roles & 50–950 ramp

primary
#31A7E2
secondary
#DDAB92
accent
#7536F2
background
#F8FBFE
surface
#F0F7FD
border
#CBD0D5
text
#0D1216
muted
#7D8184

Preview Lab

Preview with #31A7E2

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#31A7E2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva