#31679A#31679A

#31679A is a mid, moderate cyan. Relative luminance 0.127; OKLCH L 50.1% C 0.100 H 249.3°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#31679A
RGBrgb(49, 103, 154)
HSLhsl(209, 52%, 40%)
HSVhsv(209, 68%, 60%)
CMYKcmyk(68.2%, 33.1%, 0%, 39.6%)
CIE-LABlab(42.29, -0.76, -33.01)
CIE-LCHlch(42.29, 33.02, 268.68°)
OKLaboklab(50.14% -0.0353 -0.0935)
OKLCHoklch(50.14% 0.1 249.3)
XYZxyz(11.9474, 12.6853, 32.3845)
Luminance0.1269 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31679A #9A6431
analogous
#319A99 #31679A #31329A
triadic
#31679A #9A3167 #679A31
tetradic
#31679A #99319A #9A6431 #329A31
square
#31679A #99319A #9A6431 #329A31
split-complementary
#31679A #9A3132 #9A9931
monochromatic
#13293D #22486C #31679A #4586C4 #73A4D2

Accessibility & contrast

On white

5.94
#31679A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#31679A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31679A
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31679A#FFFFFF#000000##FFFFFF
##31679A1.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50699C
Deuteranopia (green-blind)
#425F99
Tritanopia (blue-blind)
#007379
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #31679a;
/* rgb */ color: rgb(49, 103, 154);
/* oklch */ color: oklch(50.1% 0.100 249.3);
Tailwind
colors: {
  custom: {
    50: '#7592b8',
    500: '#31679a',
    950: '#000000',
  },
}
SCSS
$custom: #31679a;
$custom-light: #7592b8;
$custom-dark: #000000;
JSON
{
  "hex": "#31679a",
  "rgb": {
    "r": 49,
    "g": 103,
    "b": 154
  },
  "hsl": {
    "h": 209.143,
    "s": 51.724,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50144,
    "c": 0.0999,
    "h": 249.3
  },
  "luminance": 0.12687
}

Semantic roles & 50–950 ramp

primary
#31679A
secondary
#BA926C
accent
#924DDB
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #31679A

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

Preview Lab → · Contrast checker → · Palette generator →

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