#31659C#31659C

#31659C is a mid, moderate cyan. Relative luminance 0.124; OKLCH L 49.8% C 0.104 H 251.8°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#31659C
RGBrgb(49, 101, 156)
HSLhsl(211, 52%, 40%)
HSVhsv(211, 69%, 61%)
CMYKcmyk(68.6%, 35.3%, 0%, 38.8%)
CIE-LABlab(41.78, 1.21, -34.99)
CIE-LCHlch(41.78, 35.02, 271.97°)
OKLaboklab(49.78% -0.0326 -0.0993)
OKLCHoklch(49.78% 0.104 251.8)
XYZxyz(11.9188, 12.3594, 33.2035)
Luminance0.1236 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31659C #9C6831
analogous
#319A9C #31659C #32319C
triadic
#31659C #9C3165 #659C31
tetradic
#31659C #9C319A #9C6831 #319C32
square
#31659C #9C319A #9C6831 #319C32
split-complementary
#31659C #9C3231 #9A9C31
monochromatic
#14293F #22476D #31659C #4583C5 #74A2D3

Accessibility & contrast

On white

6.05
#31659C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#31659C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31659C
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31659C#FFFFFF#000000##FFFFFF
##31659C1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D689E
Deuteranopia (green-blind)
#3E5E9B
Tritanopia (blue-blind)
#007279
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #31659c;
/* rgb */ color: rgb(49, 101, 156);
/* oklch */ color: oklch(49.8% 0.104 251.8);
Tailwind
colors: {
  custom: {
    50: '#7590b9',
    500: '#31659c',
    950: '#000000',
  },
}
SCSS
$custom: #31659c;
$custom-light: #7590b9;
$custom-dark: #000000;
JSON
{
  "hex": "#31659c",
  "rgb": {
    "r": 49,
    "g": 101,
    "b": 156
  },
  "hsl": {
    "h": 210.841,
    "s": 52.195,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49783,
    "c": 0.10449,
    "h": 251.8
  },
  "luminance": 0.12361
}

Semantic roles & 50–950 ramp

primary
#31659C
secondary
#BB956D
accent
#964CDC
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #31659C

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

Preview Lab → · Contrast checker → · Palette generator →

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