#162159#162159

#162159 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.7% C 0.101 H 270.0°. Best body text is #FFFFFF at 15.04:1 contrast (WCAG AA passes).

Color values

HEX#162159
RGBrgb(22, 33, 89)
HSLhsl(230, 60%, 22%)
HSVhsv(230, 75%, 35%)
CMYKcmyk(75.3%, 62.9%, 0%, 65.1%)
CIE-LABlab(15.38, 16.88, -35.19)
CIE-LCHlch(15.38, 39.03, 295.63°)
OKLaboklab(27.7% 0 -0.1014)
OKLCHoklch(27.7% 0.101 270)
XYZxyz(2.6773, 1.9793, 9.6902)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162159 #594E16
analogous
#164359 #162159 #2D1659
triadic
#162159 #591621 #215916
tetradic
#162159 #591643 #594E16 #16592D
square
#162159 #591643 #594E16 #16592D
split-complementary
#162159 #592D16 #435916
monochromatic
#060919 #0A0F28 #162159 #22338A #2E45BB

Accessibility & contrast

On white

15.04
#162159 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#162159 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162159
15.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162159#FFFFFF#000000##FFFFFF
##1621591.0015.041.4015.04
#FFFFFF15.041.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5B
Deuteranopia (green-blind)
#002358
Tritanopia (blue-blind)
#002F39
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #162159;
/* rgb */ color: rgb(22, 33, 89);
/* oklch */ color: oklch(27.7% 0.101 270.0);
Tailwind
colors: {
  custom: {
    50: '#5e5c88',
    500: '#162159',
    950: '#000000',
  },
}
SCSS
$custom: #162159;
$custom-light: #5e5c88;
$custom-dark: #000000;
JSON
{
  "hex": "#162159",
  "rgb": {
    "r": 22,
    "g": 33,
    "b": 89
  },
  "hsl": {
    "h": 230.149,
    "s": 60.36,
    "l": 21.765
  },
  "oklch": {
    "l": 0.27701,
    "c": 0.10144,
    "h": 270
  },
  "luminance": 0.0198
}

Semantic roles & 50–950 ramp

primary
#162159
secondary
#90823B
accent
#C944E4
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05040B
muted
#79797C

Preview Lab

Preview with #162159

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

Preview Lab → · Contrast checker → · Palette generator →

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