#31659D#31659D

#31659D is a mid, moderate cyan. Relative luminance 0.124; OKLCH L 49.8% C 0.106 H 252.2°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#31659D
RGBrgb(49, 101, 157)
HSLhsl(211, 52%, 40%)
HSVhsv(211, 69%, 62%)
CMYKcmyk(68.8%, 35.7%, 0%, 38.4%)
CIE-LABlab(41.83, 1.57, -35.51)
CIE-LCHlch(41.83, 35.54, 272.54°)
OKLaboklab(49.84% -0.0323 -0.1008)
OKLCHoklch(49.84% 0.106 252.2)
XYZxyz(12.0039, 12.3934, 33.6513)
Luminance0.1240 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31659D #9D6931
analogous
#319B9D #31659D #33319D
triadic
#31659D #9D3165 #659D31
tetradic
#31659D #9D319B #9D6931 #319D33
square
#31659D #9D319B #9D6931 #319D33
split-complementary
#31659D #9D3331 #9B9D31
monochromatic
#142940 #22476E #31659D #4683C5 #75A2D4

Accessibility & contrast

On white

6.04
#31659D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#31659D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31659D
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31659D#FFFFFF#000000##FFFFFF
##31659D1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C689F
Deuteranopia (green-blind)
#3D5E9C
Tritanopia (blue-blind)
#007279
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #31659d;
/* rgb */ color: rgb(49, 101, 157);
/* oklch */ color: oklch(49.8% 0.106 252.2);
Tailwind
colors: {
  custom: {
    50: '#7590ba',
    500: '#31659d',
    950: '#000000',
  },
}
SCSS
$custom: #31659d;
$custom-light: #7590ba;
$custom-dark: #000000;
JSON
{
  "hex": "#31659d",
  "rgb": {
    "r": 49,
    "g": 101,
    "b": 157
  },
  "hsl": {
    "h": 211.111,
    "s": 52.427,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49842,
    "c": 0.10583,
    "h": 252.2
  },
  "luminance": 0.12395
}

Semantic roles & 50–950 ramp

primary
#31659D
secondary
#BC966E
accent
#974CDC
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #31659D

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

Preview Lab → · Contrast checker → · Palette generator →

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