#31758E#31758E

#31758E is a mid, moderate cyan. Relative luminance 0.153; OKLCH L 53.0% C 0.078 H 225.5°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#31758E
RGBrgb(49, 117, 142)
HSLhsl(196, 49%, 37%)
HSVhsv(196, 65%, 56%)
CMYKcmyk(65.5%, 17.6%, 0%, 44.3%)
CIE-LABlab(46.08, -13.26, -19.98)
CIE-LCHlch(46.08, 23.97, 236.43°)
OKLaboklab(52.97% -0.0548 -0.0557)
OKLCHoklch(52.97% 0.078 225.5)
XYZxyz(12.5085, 15.3272, 27.8852)
Luminance0.1533 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31758E #8E4A31
analogous
#318E78 #31758E #31478E
triadic
#31758E #8E3175 #758E31
tetradic
#31758E #78318E #8E4A31 #478E31
square
#31758E #78318E #8E4A31 #478E31
split-complementary
#31758E #8E3147 #8E7831
monochromatic
#122A33 #215061 #31758E #419ABB #6DB3CD

Accessibility & contrast

On white

5.17
#31758E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#31758E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31758E
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31758E#FFFFFF#000000##FFFFFF
##31758E1.005.174.075.17
#FFFFFF5.171.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#67738F
Deuteranopia (green-blind)
#5A698E
Tritanopia (blue-blind)
#007C7D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #31758e;
/* rgb */ color: rgb(49, 117, 142);
/* oklch */ color: oklch(53.0% 0.078 225.5);
Tailwind
colors: {
  custom: {
    50: '#749caf',
    500: '#31758e',
    950: '#000000',
  },
}
SCSS
$custom: #31758e;
$custom-light: #749caf;
$custom-dark: #000000;
JSON
{
  "hex": "#31758e",
  "rgb": {
    "r": 49,
    "g": 117,
    "b": 142
  },
  "hsl": {
    "h": 196.129,
    "s": 48.691,
    "l": 37.451
  },
  "oklch": {
    "l": 0.52972,
    "c": 0.07821,
    "h": 225.5
  },
  "luminance": 0.15329
}

Semantic roles & 50–950 ramp

primary
#31758E
secondary
#B47B67
accent
#7450D8
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090E10
muted
#7B7E7F

Preview Lab

Preview with #31758E

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

Preview Lab → · Contrast checker → · Palette generator →

#31758E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva