#31758B#31758B

#31758B is a mid, moderate cyan. Relative luminance 0.152; OKLCH L 52.8% C 0.076 H 222.4°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#31758B
RGBrgb(49, 117, 139)
HSLhsl(195, 48%, 37%)
HSVhsv(195, 65%, 55%)
CMYKcmyk(64.7%, 15.8%, 0%, 45.5%)
CIE-LABlab(45.96, -14.25, -18.38)
CIE-LCHlch(45.96, 23.26, 232.21°)
OKLaboklab(52.84% -0.0561 -0.0512)
OKLCHoklch(52.84% 0.076 222.4)
XYZxyz(12.2862, 15.2384, 26.7149)
Luminance0.1524 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31758B #8B4731
analogous
#318B74 #31758B #31488B
triadic
#31758B #8B3175 #758B31
tetradic
#31758B #74318B #8B4731 #488B31
square
#31758B #74318B #8B4731 #488B31
split-complementary
#31758B #8B3148 #8B7431
monochromatic
#112931 #214F5E #31758B #419BB8 #6BB4CB

Accessibility & contrast

On white

5.19
#31758B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#31758B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31758B
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31758B#FFFFFF#000000##FFFFFF
##31758B1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#68728C
Deuteranopia (green-blind)
#5B698B
Tritanopia (blue-blind)
#007C7C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #31758b;
/* rgb */ color: rgb(49, 117, 139);
/* oklch */ color: oklch(52.8% 0.076 222.4);
Tailwind
colors: {
  custom: {
    50: '#739cad',
    500: '#31758b',
    950: '#000000',
  },
}
SCSS
$custom: #31758b;
$custom-light: #739cad;
$custom-dark: #000000;
JSON
{
  "hex": "#31758b",
  "rgb": {
    "r": 49,
    "g": 117,
    "b": 139
  },
  "hsl": {
    "h": 194.667,
    "s": 47.872,
    "l": 36.863
  },
  "oklch": {
    "l": 0.52836,
    "c": 0.07593,
    "h": 222.4
  },
  "luminance": 0.1524
}

Semantic roles & 50–950 ramp

primary
#31758B
secondary
#B27865
accent
#7150D7
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090E10
muted
#7B7E7F

Preview Lab

Preview with #31758B

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

Preview Lab → · Contrast checker → · Palette generator →

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