#31679F#31679F

#31679F is a mid, moderate cyan. Relative luminance 0.129; OKLCH L 50.4% C 0.106 H 251.5°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#31679F
RGBrgb(49, 103, 159)
HSLhsl(211, 53%, 41%)
HSVhsv(211, 69%, 62%)
CMYKcmyk(69.2%, 35.2%, 0%, 37.6%)
CIE-LABlab(42.54, 1.06, -35.57)
CIE-LCHlch(42.54, 35.59, 271.70°)
OKLaboklab(50.43% -0.0339 -0.1009)
OKLCHoklch(50.43% 0.106 251.5)
XYZxyz(12.3726, 12.8554, 34.6235)
Luminance0.1286 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31679F #9F6931
analogous
#319E9F #31679F #32319F
triadic
#31679F #9F3167 #679F31
tetradic
#31679F #9F319E #9F6931 #319F32
square
#31679F #9F319E #9F6931 #319F32
split-complementary
#31679F #9F3231 #9E9F31
monochromatic
#142A41 #234970 #31679F #4785C6 #76A4D5

Accessibility & contrast

On white

5.88
#31679F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#31679F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31679F
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31679F#FFFFFF#000000##FFFFFF
##31679F1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31679f;
/* rgb */ color: rgb(49, 103, 159);
/* oklch */ color: oklch(50.4% 0.106 251.5);
Tailwind
colors: {
  custom: {
    50: '#7692bb',
    500: '#31679f',
    950: '#000000',
  },
}
SCSS
$custom: #31679f;
$custom-light: #7692bb;
$custom-dark: #000000;
JSON
{
  "hex": "#31679f",
  "rgb": {
    "r": 49,
    "g": 103,
    "b": 159
  },
  "hsl": {
    "h": 210.545,
    "s": 52.885,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50432,
    "c": 0.10646,
    "h": 251.5
  },
  "luminance": 0.12857
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31679F

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

Preview Lab → · Contrast checker → · Palette generator →

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