#163158#163158

#163158 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.4% C 0.077 H 257.8°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#163158
RGBrgb(22, 49, 88)
HSLhsl(215, 60%, 22%)
HSVhsv(215, 75%, 35%)
CMYKcmyk(75%, 44.3%, 0%, 65.5%)
CIE-LABlab(20.33, 4.70, -26.55)
CIE-LCHlch(20.33, 26.97, 280.03°)
OKLaboklab(31.45% -0.0164 -0.0757)
OKLCHoklch(31.45% 0.078 257.8)
XYZxyz(3.1900, 3.0714, 9.6554)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#163158 #583D16
analogous
#165258 #163158 #1C1658
triadic
#163158 #581631 #315816
tetradic
#163158 #581652 #583D16 #16581C
square
#163158 #581652 #583D16 #16581C
split-complementary
#163158 #581C16 #525816
monochromatic
#060E18 #0A1627 #163158 #224C89 #2E68BA

Accessibility & contrast

On white

13.01
#163158 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#163158 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #163158
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##163158#FFFFFF#000000##FFFFFF
##1631581.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F345A
Deuteranopia (green-blind)
#142E57
Tritanopia (blue-blind)
#003A40
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #163158;
/* rgb */ color: rgb(22, 49, 88);
/* oklch */ color: oklch(31.4% 0.077 257.8);
Tailwind
colors: {
  custom: {
    50: '#5c6887',
    500: '#163158',
    950: '#000000',
  },
}
SCSS
$custom: #163158;
$custom-light: #5c6887;
$custom-dark: #000000;
JSON
{
  "hex": "#163158",
  "rgb": {
    "r": 22,
    "g": 49,
    "b": 88
  },
  "hsl": {
    "h": 215.455,
    "s": 60,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31447,
    "c": 0.0775,
    "h": 257.8
  },
  "luminance": 0.03072
}

Semantic roles & 50–950 ramp

primary
#163158
secondary
#8F6D3B
accent
#A245E3
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060B
muted
#797A7C

Preview Lab

Preview with #163158

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

Preview Lab → · Contrast checker → · Palette generator →

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