#31679C#31679C

#31679C is a mid, moderate cyan. Relative luminance 0.128; OKLCH L 50.3% C 0.103 H 250.2°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#31679C
RGBrgb(49, 103, 156)
HSLhsl(210, 52%, 40%)
HSVhsv(210, 69%, 61%)
CMYKcmyk(68.6%, 34%, 0%, 38.8%)
CIE-LABlab(42.39, -0.04, -34.04)
CIE-LCHlch(42.39, 34.04, 269.94°)
OKLaboklab(50.26% -0.0347 -0.0965)
OKLCHoklch(50.26% 0.103 250.2)
XYZxyz(12.1154, 12.7525, 33.2690)
Luminance0.1275 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31679C #9C6631
analogous
#319C9C #31679C #31319C
triadic
#31679C #9C3167 #679C31
tetradic
#31679C #9C319C #9C6631 #319C31
square
#31679C #9C319C #9C6631 #319C31
split-complementary
#31679C #9C3131 #9C9C31
monochromatic
#142A3F #22486D #31679C #4586C5 #74A4D3

Accessibility & contrast

On white

5.91
#31679C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#31679C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31679C
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31679C#FFFFFF#000000##FFFFFF
##31679C1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#506A9E
Deuteranopia (green-blind)
#415F9B
Tritanopia (blue-blind)
#00737A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #31679c;
/* rgb */ color: rgb(49, 103, 156);
/* oklch */ color: oklch(50.3% 0.103 250.2);
Tailwind
colors: {
  custom: {
    50: '#7592b9',
    500: '#31679c',
    950: '#000000',
  },
}
SCSS
$custom: #31679c;
$custom-light: #7592b9;
$custom-dark: #000000;
JSON
{
  "hex": "#31679c",
  "rgb": {
    "r": 49,
    "g": 103,
    "b": 156
  },
  "hsl": {
    "h": 209.72,
    "s": 52.195,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50258,
    "c": 0.10252,
    "h": 250.2
  },
  "luminance": 0.12754
}

Semantic roles & 50–950 ramp

primary
#31679C
secondary
#BB946D
accent
#934CDC
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #31679C

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

Preview Lab → · Contrast checker → · Palette generator →

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