#162189#162189

#162189 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.8% C 0.169 H 268.7°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#162189
RGBrgb(22, 33, 137)
HSLhsl(234, 72%, 31%)
HSVhsv(234, 84%, 54%)
CMYKcmyk(83.9%, 75.9%, 0%, 46.3%)
CIE-LABlab(20.30, 35.62, -58.18)
CIE-LCHlch(20.30, 68.22, 301.48°)
OKLaboklab(32.77% -0.0039 -0.1686)
OKLCHoklch(32.77% 0.169 268.7)
XYZxyz(5.3885, 3.0638, 23.9694)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162189 #897E16
analogous
#165A89 #162189 #441689
triadic
#162189 #891621 #218916
tetradic
#162189 #89165A #897E16 #168944
square
#162189 #89165A #897E16 #168944
split-complementary
#162189 #894416 #5A8916
monochromatic
#050820 #0E1454 #162189 #1E2EBE #3A4ADF

Accessibility & contrast

On white

13.02
#162189 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #162189
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162189#FFFFFF#000000##FFFFFF
##1621891.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378C
Deuteranopia (green-blind)
#002B87
Tritanopia (blue-blind)
#003F53
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #162189;
/* rgb */ color: rgb(22, 33, 137);
/* oklch */ color: oklch(32.8% 0.169 268.7);
Tailwind
colors: {
  custom: {
    50: '#6b5dad',
    500: '#162189',
    950: '#000000',
  },
}
SCSS
$custom: #162189;
$custom-light: #6b5dad;
$custom-dark: #000000;
JSON
{
  "hex": "#162189",
  "rgb": {
    "r": 22,
    "g": 33,
    "b": 137
  },
  "hsl": {
    "h": 234.261,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.32771,
    "c": 0.16864,
    "h": 268.7
  },
  "luminance": 0.03064
}

Semantic roles & 50–950 ramp

primary
#162189
secondary
#BDB13E
accent
#DE39EF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #162189

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

Preview Lab → · Contrast checker → · Palette generator →

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