#31709E#31709E

#31709E is a mid, moderate cyan. Relative luminance 0.147; OKLCH L 52.5% C 0.097 H 243.3°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#31709E
RGBrgb(49, 112, 158)
HSLhsl(205, 53%, 41%)
HSVhsv(205, 69%, 62%)
CMYKcmyk(69%, 29.1%, 0%, 38%)
CIE-LABlab(45.23, -4.81, -30.75)
CIE-LCHlch(45.23, 31.13, 261.12°)
OKLaboklab(52.53% -0.0436 -0.0868)
OKLCHoklch(52.53% 0.097 243.3)
XYZxyz(13.2300, 14.7085, 34.4829)
Luminance0.1471 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31709E #9E5F31
analogous
#319E95 #31709E #31399E
triadic
#31709E #9E3170 #709E31
tetradic
#31709E #95319E #9E5F31 #399E31
square
#31709E #95319E #9E5F31 #399E31
split-complementary
#31709E #9E3139 #9E9531
monochromatic
#142E41 #234F6F #31709E #4690C6 #75ACD4

Accessibility & contrast

On white

5.33
#31709E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#31709E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31709E
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31709E#FFFFFF#000000##FFFFFF
##31709E1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B71A0
Deuteranopia (green-blind)
#4C669D
Tritanopia (blue-blind)
#007B80
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #31709e;
/* rgb */ color: rgb(49, 112, 158);
/* oklch */ color: oklch(52.5% 0.097 243.3);
Tailwind
colors: {
  custom: {
    50: '#7698bb',
    500: '#31709e',
    950: '#000000',
  },
}
SCSS
$custom: #31709e;
$custom-light: #7698bb;
$custom-dark: #000000;
JSON
{
  "hex": "#31709e",
  "rgb": {
    "r": 49,
    "g": 112,
    "b": 158
  },
  "hsl": {
    "h": 205.321,
    "s": 52.657,
    "l": 40.588
  },
  "oklch": {
    "l": 0.52531,
    "c": 0.09713,
    "h": 243.3
  },
  "luminance": 0.1471
}

Semantic roles & 50–950 ramp

primary
#31709E
secondary
#BC8F6E
accent
#894CDC
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090D11
muted
#7B7E80

Preview Lab

Preview with #31709E

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

Preview Lab → · Contrast checker → · Palette generator →

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