#162589#162589

#162589 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.4% C 0.164 H 268.1°. Best body text is #FFFFFF at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#162589
RGBrgb(22, 37, 137)
HSLhsl(232, 72%, 31%)
HSVhsv(232, 84%, 54%)
CMYKcmyk(83.9%, 73%, 0%, 46.3%)
CIE-LABlab(21.20, 33.10, -56.68)
CIE-LCHlch(21.20, 65.64, 300.29°)
OKLaboklab(33.42% -0.0054 -0.1643)
OKLCHoklch(33.42% 0.164 268.1)
XYZxyz(5.5062, 3.2992, 24.0087)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162589 #897A16
analogous
#165E89 #162589 #401689
triadic
#162589 #891625 #258916
tetradic
#162589 #89165E #897A16 #168940
square
#162589 #89165E #897A16 #168940
split-complementary
#162589 #894016 #5E8916
monochromatic
#050920 #0E1754 #162589 #1E33BE #3A50DF

Accessibility & contrast

On white

12.65
#162589 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#162589 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162589
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162589#FFFFFF#000000##FFFFFF
##1625891.0012.651.6612.65
#FFFFFF12.651.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #162589;
/* rgb */ color: rgb(22, 37, 137);
/* oklch */ color: oklch(33.4% 0.164 268.1);
Tailwind
colors: {
  custom: {
    50: '#6b60ad',
    500: '#162589',
    950: '#000000',
  },
}
SCSS
$custom: #162589;
$custom-light: #6b60ad;
$custom-dark: #000000;
JSON
{
  "hex": "#162589",
  "rgb": {
    "r": 22,
    "g": 37,
    "b": 137
  },
  "hsl": {
    "h": 232.174,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.33421,
    "c": 0.16435,
    "h": 268.1
  },
  "luminance": 0.033
}

Semantic roles & 50–950 ramp

primary
#162589
secondary
#BDAC3E
accent
#D739EF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #162589

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

Preview Lab → · Contrast checker → · Palette generator →

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