#162089#162089

#162089 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.6% C 0.170 H 268.8°. Best body text is #FFFFFF at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#162089
RGBrgb(22, 32, 137)
HSLhsl(235, 72%, 31%)
HSVhsv(235, 84%, 54%)
CMYKcmyk(83.9%, 76.6%, 0%, 46.3%)
CIE-LABlab(20.08, 36.24, -58.54)
CIE-LCHlch(20.08, 68.85, 301.76°)
OKLaboklab(32.62% -0.0036 -0.1696)
OKLCHoklch(32.62% 0.17 268.8)
XYZxyz(5.3612, 3.0091, 23.9603)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162089 #897F16
analogous
#165989 #162089 #451689
triadic
#162089 #891620 #208916
tetradic
#162089 #891659 #897F16 #168945
square
#162089 #891659 #897F16 #168945
split-complementary
#162089 #894516 #598916
monochromatic
#050720 #0E1454 #162089 #1E2CBE #3A48DF

Accessibility & contrast

On white

13.11
#162089 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#162089 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162089
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162089#FFFFFF#000000##FFFFFF
##1620891.0013.111.6013.11
#FFFFFF13.111.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #162089;
/* rgb */ color: rgb(22, 32, 137);
/* oklch */ color: oklch(32.6% 0.170 268.8);
Tailwind
colors: {
  custom: {
    50: '#6b5cad',
    500: '#162089',
    950: '#000000',
  },
}
SCSS
$custom: #162089;
$custom-light: #6b5cad;
$custom-dark: #000000;
JSON
{
  "hex": "#162089",
  "rgb": {
    "r": 22,
    "g": 32,
    "b": 137
  },
  "hsl": {
    "h": 234.783,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.32616,
    "c": 0.16967,
    "h": 268.8
  },
  "luminance": 0.0301
}

Semantic roles & 50–950 ramp

primary
#162089
secondary
#BDB23E
accent
#DF39EF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #162089

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

Preview Lab → · Contrast checker → · Palette generator →

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