#31659E#31659E

#31659E is a mid, moderate cyan. Relative luminance 0.124; OKLCH L 49.9% C 0.107 H 252.6°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#31659E
RGBrgb(49, 101, 158)
HSLhsl(211, 53%, 41%)
HSVhsv(211, 69%, 62%)
CMYKcmyk(69%, 36.1%, 0%, 38%)
CIE-LABlab(41.89, 1.94, -36.02)
CIE-LCHlch(41.89, 36.07, 273.08°)
OKLaboklab(49.9% -0.0321 -0.1023)
OKLCHoklch(49.9% 0.107 252.6)
XYZxyz(12.0896, 12.4277, 34.1028)
Luminance0.1243 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31659E #9E6A31
analogous
#319B9E #31659E #33319E
triadic
#31659E #9E3165 #659E31
tetradic
#31659E #9E319B #9E6A31 #319E33
square
#31659E #9E319B #9E6A31 #319E33
split-complementary
#31659E #9E3331 #9B9E31
monochromatic
#142941 #23476F #31659E #4683C6 #75A3D4

Accessibility & contrast

On white

6.02
#31659E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#31659E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31659E
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31659E#FFFFFF#000000##FFFFFF
##31659E1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C68A0
Deuteranopia (green-blind)
#3C5E9D
Tritanopia (blue-blind)
#00727A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #31659e;
/* rgb */ color: rgb(49, 101, 158);
/* oklch */ color: oklch(49.9% 0.107 252.6);
Tailwind
colors: {
  custom: {
    50: '#7690bb',
    500: '#31659e',
    950: '#000000',
  },
}
SCSS
$custom: #31659e;
$custom-light: #7690bb;
$custom-dark: #000000;
JSON
{
  "hex": "#31659e",
  "rgb": {
    "r": 49,
    "g": 101,
    "b": 158
  },
  "hsl": {
    "h": 211.376,
    "s": 52.657,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49901,
    "c": 0.10717,
    "h": 252.6
  },
  "luminance": 0.12429
}

Semantic roles & 50–950 ramp

primary
#31659E
secondary
#BC976E
accent
#974CDC
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #31659E

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

Preview Lab → · Contrast checker → · Palette generator →

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