#31679E#31679E

#31679E is a mid, moderate cyan. Relative luminance 0.128; OKLCH L 50.4% C 0.105 H 251.1°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#31679E
RGBrgb(49, 103, 158)
HSLhsl(210, 53%, 41%)
HSVhsv(210, 69%, 62%)
CMYKcmyk(69%, 34.8%, 0%, 38%)
CIE-LABlab(42.49, 0.69, -35.06)
CIE-LCHlch(42.49, 35.07, 271.13°)
OKLaboklab(50.37% -0.0341 -0.0994)
OKLCHoklch(50.37% 0.105 251.1)
XYZxyz(12.2861, 12.8208, 34.1683)
Luminance0.1282 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31679E #9E6831
analogous
#319D9E #31679E #31319E
triadic
#31679E #9E3167 #679E31
tetradic
#31679E #9E319D #9E6831 #319E31
square
#31679E #9E319D #9E6831 #319E31
split-complementary
#31679E #9E3131 #9D9E31
monochromatic
#142A41 #23496F #31679E #4686C6 #75A4D4

Accessibility & contrast

On white

5.89
#31679E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#31679E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31679E
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31679E#FFFFFF#000000##FFFFFF
##31679E1.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F6AA0
Deuteranopia (green-blind)
#3F609D
Tritanopia (blue-blind)
#00747B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #31679e;
/* rgb */ color: rgb(49, 103, 158);
/* oklch */ color: oklch(50.4% 0.105 251.1);
Tailwind
colors: {
  custom: {
    50: '#7692bb',
    500: '#31679e',
    950: '#000000',
  },
}
SCSS
$custom: #31679e;
$custom-light: #7692bb;
$custom-dark: #000000;
JSON
{
  "hex": "#31679e",
  "rgb": {
    "r": 49,
    "g": 103,
    "b": 158
  },
  "hsl": {
    "h": 210.275,
    "s": 52.657,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50374,
    "c": 0.10514,
    "h": 251.1
  },
  "luminance": 0.12822
}

Semantic roles & 50–950 ramp

primary
#31679E
secondary
#BC966E
accent
#954CDC
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #31679E

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

Preview Lab → · Contrast checker → · Palette generator →

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