#163151#163151

#163151 is a dark, moderate cyan. Relative luminance 0.030; OKLCH L 31.0% C 0.067 H 254.1°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#163151
RGBrgb(22, 49, 81)
HSLhsl(213, 57%, 20%)
HSVhsv(213, 73%, 32%)
CMYKcmyk(72.8%, 39.5%, 0%, 68.2%)
CIE-LABlab(19.89, 1.80, -22.59)
CIE-LCHlch(19.89, 22.66, 274.56°)
OKLaboklab(30.96% -0.0183 -0.0641)
OKLCHoklch(30.96% 0.067 254.1)
XYZxyz(2.9138, 2.9610, 8.2010)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#163151 #513616
analogous
#164F51 #163151 #181651
triadic
#163151 #511631 #315116
tetradic
#163151 #51164F #513616 #165118
square
#163151 #51164F #513616 #165118
split-complementary
#163151 #511816 #4F5116
monochromatic
#070F18 #091421 #163151 #234E81 #306BB1

Accessibility & contrast

On white

13.19
#163151 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#163151 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #163151
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##163151#FFFFFF#000000##FFFFFF
##1631511.0013.191.5913.19
#FFFFFF13.191.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233352
Deuteranopia (green-blind)
#1A2E50
Tritanopia (blue-blind)
#00383D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #163151;
/* rgb */ color: rgb(22, 49, 81);
/* oklch */ color: oklch(31.0% 0.067 254.1);
Tailwind
colors: {
  custom: {
    50: '#5b6882',
    500: '#163151',
    950: '#000000',
  },
}
SCSS
$custom: #163151;
$custom-light: #5b6882;
$custom-dark: #000000;
JSON
{
  "hex": "#163151",
  "rgb": {
    "r": 22,
    "g": 49,
    "b": 81
  },
  "hsl": {
    "h": 212.542,
    "s": 57.282,
    "l": 20.196
  },
  "oklch": {
    "l": 0.3096,
    "c": 0.0667,
    "h": 254.1
  },
  "luminance": 0.02961
}

Semantic roles & 50–950 ramp

primary
#163151
secondary
#88653A
accent
#9A47E1
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C

Preview Lab

Preview with #163151

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

Preview Lab → · Contrast checker → · Palette generator →

#163151 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva