#31649C#31649C

#31649C is a mid, moderate cyan. Relative luminance 0.122; OKLCH L 49.5% C 0.106 H 252.6°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#31649C
RGBrgb(49, 100, 156)
HSLhsl(211, 52%, 40%)
HSVhsv(211, 69%, 61%)
CMYKcmyk(68.6%, 35.9%, 0%, 38.8%)
CIE-LABlab(41.48, 1.83, -35.47)
CIE-LCHlch(41.48, 35.52, 272.96°)
OKLaboklab(49.55% -0.0316 -0.1007)
OKLCHoklch(49.55% 0.106 252.6)
XYZxyz(11.8223, 12.1664, 33.1713)
Luminance0.1217 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31649C #9C6931
analogous
#31999C #31649C #34319C
triadic
#31649C #9C3164 #649C31
tetradic
#31649C #9C3199 #9C6931 #319C34
square
#31649C #9C3199 #9C6931 #319C34
split-complementary
#31649C #9C3431 #999C31
monochromatic
#14283F #22466D #31649C #4582C5 #74A1D3

Accessibility & contrast

On white

6.12
#31649C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#31649C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31649C
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31649C#FFFFFF#000000##FFFFFF
##31649C1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B679E
Deuteranopia (green-blind)
#3C5D9B
Tritanopia (blue-blind)
#007178
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #31649c;
/* rgb */ color: rgb(49, 100, 156);
/* oklch */ color: oklch(49.5% 0.106 252.6);
Tailwind
colors: {
  custom: {
    50: '#758fb9',
    500: '#31649c',
    950: '#000000',
  },
}
SCSS
$custom: #31649c;
$custom-light: #758fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#31649c",
  "rgb": {
    "r": 49,
    "g": 100,
    "b": 156
  },
  "hsl": {
    "h": 211.402,
    "s": 52.195,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49546,
    "c": 0.10551,
    "h": 252.6
  },
  "luminance": 0.12168
}

Semantic roles & 50–950 ramp

primary
#31649C
secondary
#BB966D
accent
#974CDC
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #31649C

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

Preview Lab → · Contrast checker → · Palette generator →

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