#162689#162689

#162689 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.6% C 0.163 H 268.0°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#162689
RGBrgb(22, 38, 137)
HSLhsl(232, 72%, 31%)
HSVhsv(232, 84%, 54%)
CMYKcmyk(83.9%, 72.3%, 0%, 46.3%)
CIE-LABlab(21.44, 32.46, -56.29)
CIE-LCHlch(21.44, 64.98, 299.97°)
OKLaboklab(33.59% -0.0058 -0.1631)
OKLCHoklch(33.59% 0.163 268)
XYZxyz(5.5378, 3.3623, 24.0192)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162689 #897916
analogous
#165F89 #162689 #3F1689
triadic
#162689 #891626 #268916
tetradic
#162689 #89165F #897916 #16893F
square
#162689 #89165F #897916 #16893F
split-complementary
#162689 #893F16 #5F8916
monochromatic
#050920 #0E1754 #162689 #1E35BE #3A51DF

Accessibility & contrast

On white

12.56
#162689 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#162689 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162689
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162689#FFFFFF#000000##FFFFFF
##1626891.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398C
Deuteranopia (green-blind)
#002E87
Tritanopia (blue-blind)
#004254
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #162689;
/* rgb */ color: rgb(22, 38, 137);
/* oklch */ color: oklch(33.6% 0.163 268.0);
Tailwind
colors: {
  custom: {
    50: '#6b60ac',
    500: '#162689',
    950: '#000000',
  },
}
SCSS
$custom: #162689;
$custom-light: #6b60ac;
$custom-dark: #000000;
JSON
{
  "hex": "#162689",
  "rgb": {
    "r": 22,
    "g": 38,
    "b": 137
  },
  "hsl": {
    "h": 231.652,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.33591,
    "c": 0.16323,
    "h": 268
  },
  "luminance": 0.03363
}

Semantic roles & 50–950 ramp

primary
#162689
secondary
#BDAB3E
accent
#D639EF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #162689

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

Preview Lab → · Contrast checker → · Palette generator →

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