#31689C#31689C

#31689C is a mid, moderate cyan. Relative luminance 0.130; OKLCH L 50.5% C 0.102 H 249.4°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#31689C
RGBrgb(49, 104, 156)
HSLhsl(209, 52%, 40%)
HSVhsv(209, 69%, 61%)
CMYKcmyk(68.6%, 33.3%, 0%, 38.8%)
CIE-LABlab(42.69, -0.66, -33.56)
CIE-LCHlch(42.69, 33.57, 268.88°)
OKLaboklab(50.5% -0.0358 -0.095)
OKLCHoklch(50.5% 0.102 249.4)
XYZxyz(12.2155, 12.9526, 33.3024)
Luminance0.1295 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31689C #9C6531
analogous
#319C9A #31689C #31329C
triadic
#31689C #9C3168 #689C31
tetradic
#31689C #9A319C #9C6531 #329C31
square
#31689C #9A319C #9C6531 #329C31
split-complementary
#31689C #9C3132 #9C9A31
monochromatic
#142A3F #22496D #31689C #4587C5 #74A5D3

Accessibility & contrast

On white

5.85
#31689C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#31689C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31689C
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31689C#FFFFFF#000000##FFFFFF
##31689C1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#516A9E
Deuteranopia (green-blind)
#42609B
Tritanopia (blue-blind)
#00747B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #31689c;
/* rgb */ color: rgb(49, 104, 156);
/* oklch */ color: oklch(50.5% 0.102 249.4);
Tailwind
colors: {
  custom: {
    50: '#7592b9',
    500: '#31689c',
    950: '#000000',
  },
}
SCSS
$custom: #31689c;
$custom-light: #7592b9;
$custom-dark: #000000;
JSON
{
  "hex": "#31689c",
  "rgb": {
    "r": 49,
    "g": 104,
    "b": 156
  },
  "hsl": {
    "h": 209.159,
    "s": 52.195,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50497,
    "c": 0.10156,
    "h": 249.4
  },
  "luminance": 0.12954
}

Semantic roles & 50–950 ramp

primary
#31689C
secondary
#BB936D
accent
#924CDC
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#090D11
muted
#7B7D80

Preview Lab

Preview with #31689C

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

Preview Lab → · Contrast checker → · Palette generator →

#31689C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva