#31709A#31709A

#31709A is a mid, moderate cyan. Relative luminance 0.146; OKLCH L 52.3% C 0.092 H 240.9°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#31709A
RGBrgb(49, 112, 154)
HSLhsl(204, 52%, 40%)
HSVhsv(204, 68%, 60%)
CMYKcmyk(68.2%, 27.3%, 0%, 39.6%)
CIE-LABlab(45.04, -6.22, -28.69)
CIE-LCHlch(45.04, 29.35, 257.76°)
OKLaboklab(52.32% -0.0449 -0.0808)
OKLCHoklch(52.32% 0.092 240.9)
XYZxyz(12.8913, 14.5730, 32.6991)
Luminance0.1457 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31709A #9A5B31
analogous
#319A90 #31709A #313C9A
triadic
#31709A #9A3170 #709A31
tetradic
#31709A #90319A #9A5B31 #3C9A31
square
#31709A #90319A #9A5B31 #3C9A31
split-complementary
#31709A #9A313C #9A9031
monochromatic
#132C3D #224E6C #31709A #4591C4 #73ACD2

Accessibility & contrast

On white

5.36
#31709A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#31709A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31709A
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31709A#FFFFFF#000000##FFFFFF
##31709A1.005.363.915.36
#FFFFFF5.361.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D709C
Deuteranopia (green-blind)
#4E6699
Tritanopia (blue-blind)
#007A7E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #31709a;
/* rgb */ color: rgb(49, 112, 154);
/* oklch */ color: oklch(52.3% 0.092 240.9);
Tailwind
colors: {
  custom: {
    50: '#7598b8',
    500: '#31709a',
    950: '#000000',
  },
}
SCSS
$custom: #31709a;
$custom-light: #7598b8;
$custom-dark: #000000;
JSON
{
  "hex": "#31709a",
  "rgb": {
    "r": 49,
    "g": 112,
    "b": 154
  },
  "hsl": {
    "h": 204,
    "s": 51.724,
    "l": 39.804
  },
  "oklch": {
    "l": 0.5232,
    "c": 0.09245,
    "h": 240.9
  },
  "luminance": 0.14574
}

Semantic roles & 50–950 ramp

primary
#31709A
secondary
#BA8C6C
accent
#864DDB
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090D11
muted
#7B7E80

Preview Lab

Preview with #31709A

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

Preview Lab → · Contrast checker → · Palette generator →

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