#31709B#31709B

#31709B is a mid, moderate cyan. Relative luminance 0.146; OKLCH L 52.4% C 0.094 H 241.6°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#31709B
RGBrgb(49, 112, 155)
HSLhsl(204, 52%, 40%)
HSVhsv(204, 68%, 61%)
CMYKcmyk(68.4%, 27.7%, 0%, 39.2%)
CIE-LABlab(45.09, -5.87, -29.20)
CIE-LCHlch(45.09, 29.79, 258.63°)
OKLaboklab(52.37% -0.0446 -0.0823)
OKLCHoklch(52.37% 0.094 241.6)
XYZxyz(12.9749, 14.6065, 33.1395)
Luminance0.1461 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31709B #9B5C31
analogous
#319B91 #31709B #313B9B
triadic
#31709B #9B3170 #709B31
tetradic
#31709B #91319B #9B5C31 #3B9B31
square
#31709B #91319B #9B5C31 #3B9B31
split-complementary
#31709B #9B313B #9B9131
monochromatic
#142D3E #224E6D #31709B #4591C4 #73ACD3

Accessibility & contrast

On white

5.35
#31709B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#31709B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31709B
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31709B#FFFFFF#000000##FFFFFF
##31709B1.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C709D
Deuteranopia (green-blind)
#4E669A
Tritanopia (blue-blind)
#007B7F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #31709b;
/* rgb */ color: rgb(49, 112, 155);
/* oklch */ color: oklch(52.4% 0.094 241.6);
Tailwind
colors: {
  custom: {
    50: '#7598b8',
    500: '#31709b',
    950: '#000000',
  },
}
SCSS
$custom: #31709b;
$custom-light: #7598b8;
$custom-dark: #000000;
JSON
{
  "hex": "#31709b",
  "rgb": {
    "r": 49,
    "g": 112,
    "b": 155
  },
  "hsl": {
    "h": 204.34,
    "s": 51.961,
    "l": 40
  },
  "oklch": {
    "l": 0.52372,
    "c": 0.09361,
    "h": 241.6
  },
  "luminance": 0.14608
}

Semantic roles & 50–950 ramp

primary
#31709B
secondary
#BB8D6D
accent
#864CDB
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090D11
muted
#7B7E80

Preview Lab

Preview with #31709B

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

Preview Lab → · Contrast checker → · Palette generator →

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