#31679D#31679D

#31679D is a mid, moderate cyan. Relative luminance 0.128; OKLCH L 50.3% C 0.104 H 250.6°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#31679D
RGBrgb(49, 103, 157)
HSLhsl(210, 52%, 40%)
HSVhsv(210, 69%, 62%)
CMYKcmyk(68.8%, 34.4%, 0%, 38.4%)
CIE-LABlab(42.44, 0.33, -34.55)
CIE-LCHlch(42.44, 34.55, 270.54°)
OKLaboklab(50.32% -0.0344 -0.0979)
OKLCHoklch(50.32% 0.104 250.6)
XYZxyz(12.2004, 12.7865, 33.7168)
Luminance0.1279 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31679D #9D6731
analogous
#319D9D #31679D #31319D
triadic
#31679D #9D3167 #679D31
tetradic
#31679D #9D319D #9D6731 #319D31
square
#31679D #9D319D #9D6731 #319D31
split-complementary
#31679D #9D3131 #9D9D31
monochromatic
#142A40 #22486E #31679D #4686C5 #75A4D4

Accessibility & contrast

On white

5.90
#31679D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#31679D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31679D
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31679D#FFFFFF#000000##FFFFFF
##31679D1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F6A9F
Deuteranopia (green-blind)
#40609C
Tritanopia (blue-blind)
#00747B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #31679d;
/* rgb */ color: rgb(49, 103, 157);
/* oklch */ color: oklch(50.3% 0.104 250.6);
Tailwind
colors: {
  custom: {
    50: '#7592ba',
    500: '#31679d',
    950: '#000000',
  },
}
SCSS
$custom: #31679d;
$custom-light: #7592ba;
$custom-dark: #000000;
JSON
{
  "hex": "#31679d",
  "rgb": {
    "r": 49,
    "g": 103,
    "b": 157
  },
  "hsl": {
    "h": 210,
    "s": 52.427,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50316,
    "c": 0.10382,
    "h": 250.6
  },
  "luminance": 0.12788
}

Semantic roles & 50–950 ramp

primary
#31679D
secondary
#BC956E
accent
#944CDC
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #31679D

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

Preview Lab → · Contrast checker → · Palette generator →

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