#162389#162389

#162389 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.1% C 0.167 H 268.4°. Best body text is #FFFFFF at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#162389
RGBrgb(22, 35, 137)
HSLhsl(233, 72%, 31%)
HSVhsv(233, 84%, 54%)
CMYKcmyk(83.9%, 74.5%, 0%, 46.3%)
CIE-LABlab(20.74, 34.38, -57.44)
CIE-LCHlch(20.74, 66.94, 300.90°)
OKLaboklab(33.09% -0.0046 -0.1665)
OKLCHoklch(33.09% 0.167 268.4)
XYZxyz(5.4457, 3.1781, 23.9885)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162389 #897C16
analogous
#165C89 #162389 #421689
triadic
#162389 #891623 #238916
tetradic
#162389 #89165C #897C16 #168942
square
#162389 #89165C #897C16 #168942
split-complementary
#162389 #894216 #5C8916
monochromatic
#050820 #0E1654 #162389 #1E30BE #3A4DDF

Accessibility & contrast

On white

12.84
#162389 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#162389 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162389
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162389#FFFFFF#000000##FFFFFF
##1623891.0012.841.6412.84
#FFFFFF12.841.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #162389;
/* rgb */ color: rgb(22, 35, 137);
/* oklch */ color: oklch(33.1% 0.167 268.4);
Tailwind
colors: {
  custom: {
    50: '#6b5ead',
    500: '#162389',
    950: '#000000',
  },
}
SCSS
$custom: #162389;
$custom-light: #6b5ead;
$custom-dark: #000000;
JSON
{
  "hex": "#162389",
  "rgb": {
    "r": 22,
    "g": 35,
    "b": 137
  },
  "hsl": {
    "h": 233.217,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.3309,
    "c": 0.16652,
    "h": 268.4
  },
  "luminance": 0.03179
}

Semantic roles & 50–950 ramp

primary
#162389
secondary
#BDAF3E
accent
#DA39EF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #162389

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

Preview Lab → · Contrast checker → · Palette generator →

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