#31668E#31668E

#31668E is a mid, moderate cyan. Relative luminance 0.121; OKLCH L 49.2% C 0.086 H 243.6°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#31668E
RGBrgb(49, 102, 142)
HSLhsl(206, 49%, 37%)
HSVhsv(206, 65%, 56%)
CMYKcmyk(65.5%, 28.2%, 0%, 44.3%)
CIE-LABlab(41.39, -4.45, -27.25)
CIE-LCHlch(41.39, 27.61, 260.73°)
OKLaboklab(49.24% -0.038 -0.0767)
OKLCHoklch(49.24% 0.086 243.6)
XYZxyz(10.8986, 12.1076, 27.3486)
Luminance0.1211 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31668E #8E5931
analogous
#318E87 #31668E #31388E
triadic
#31668E #8E3166 #668E31
tetradic
#31668E #87318E #8E5931 #388E31
square
#31668E #87318E #8E5931 #388E31
split-complementary
#31668E #8E3138 #8E8731
monochromatic
#122533 #214561 #31668E #4187BB #6DA3CD

Accessibility & contrast

On white

6.14
#31668E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#31668E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31668E
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31668E#FFFFFF#000000##FFFFFF
##31668E1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546790
Deuteranopia (green-blind)
#485E8D
Tritanopia (blue-blind)
#007074
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #31668e;
/* rgb */ color: rgb(49, 102, 142);
/* oklch */ color: oklch(49.2% 0.086 243.6);
Tailwind
colors: {
  custom: {
    50: '#7391af',
    500: '#31668e',
    950: '#000000',
  },
}
SCSS
$custom: #31668e;
$custom-light: #7391af;
$custom-dark: #000000;
JSON
{
  "hex": "#31668e",
  "rgb": {
    "r": 49,
    "g": 102,
    "b": 142
  },
  "hsl": {
    "h": 205.806,
    "s": 48.691,
    "l": 37.451
  },
  "oklch": {
    "l": 0.49242,
    "c": 0.08564,
    "h": 243.6
  },
  "luminance": 0.12109
}

Semantic roles & 50–950 ramp

primary
#31668E
secondary
#B48867
accent
#8A50D8
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#090C10
muted
#7B7D7F

Preview Lab

Preview with #31668E

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

Preview Lab → · Contrast checker → · Palette generator →

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