#162489#162489

#162489 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.3% C 0.165 H 268.3°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#162489
RGBrgb(22, 36, 137)
HSLhsl(233, 72%, 31%)
HSVhsv(233, 84%, 54%)
CMYKcmyk(83.9%, 73.7%, 0%, 46.3%)
CIE-LABlab(20.97, 33.74, -57.07)
CIE-LCHlch(20.97, 66.30, 300.60°)
OKLaboklab(33.25% -0.005 -0.1654)
OKLCHoklch(33.25% 0.165 268.3)
XYZxyz(5.4755, 3.2378, 23.9984)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162489 #897B16
analogous
#165D89 #162489 #411689
triadic
#162489 #891624 #248916
tetradic
#162489 #89165D #897B16 #168941
square
#162489 #89165D #897B16 #168941
split-complementary
#162489 #894116 #5D8916
monochromatic
#050820 #0E1654 #162489 #1E32BE #3A4EDF

Accessibility & contrast

On white

12.75
#162489 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#162489 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162489
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162489#FFFFFF#000000##FFFFFF
##1624891.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388C
Deuteranopia (green-blind)
#002D87
Tritanopia (blue-blind)
#004154
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #162489;
/* rgb */ color: rgb(22, 36, 137);
/* oklch */ color: oklch(33.3% 0.165 268.3);
Tailwind
colors: {
  custom: {
    50: '#6b5fad',
    500: '#162489',
    950: '#000000',
  },
}
SCSS
$custom: #162489;
$custom-light: #6b5fad;
$custom-dark: #000000;
JSON
{
  "hex": "#162489",
  "rgb": {
    "r": 22,
    "g": 36,
    "b": 137
  },
  "hsl": {
    "h": 232.696,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.33254,
    "c": 0.16545,
    "h": 268.3
  },
  "luminance": 0.03238
}

Semantic roles & 50–950 ramp

primary
#162489
secondary
#BDAD3E
accent
#D939EF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #162489

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

Preview Lab → · Contrast checker → · Palette generator →

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