#161889#161889

#161889 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.5% C 0.177 H 269.6°. Best body text is #FFFFFF at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#161889
RGBrgb(22, 24, 137)
HSLhsl(239, 72%, 31%)
HSVhsv(239, 84%, 54%)
CMYKcmyk(83.9%, 82.5%, 0%, 46.3%)
CIE-LABlab(18.49, 40.78, -61.17)
CIE-LCHlch(18.49, 73.52, 303.69°)
OKLaboklab(31.5% -0.0013 -0.1771)
OKLCHoklch(31.5% 0.177 269.6)
XYZxyz(5.1713, 2.6294, 23.8970)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161889 #898716
analogous
#165189 #161889 #4D1689
triadic
#161889 #891618 #188916
tetradic
#161889 #891651 #898716 #16894D
square
#161889 #891651 #898716 #16894D
split-complementary
#161889 #894D16 #518916
monochromatic
#050620 #0E0F54 #161889 #1E21BE #3A3DDF

Accessibility & contrast

On white

13.76
#161889 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#161889 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161889
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161889#FFFFFF#000000##FFFFFF
##1618891.0013.761.5313.76
#FFFFFF13.761.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00338C
Deuteranopia (green-blind)
#002787
Tritanopia (blue-blind)
#003C51
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #161889;
/* rgb */ color: rgb(22, 24, 137);
/* oklch */ color: oklch(31.5% 0.177 269.6);
Tailwind
colors: {
  custom: {
    50: '#6c58ad',
    500: '#161889',
    950: '#000000',
  },
}
SCSS
$custom: #161889;
$custom-light: #6c58ad;
$custom-dark: #000000;
JSON
{
  "hex": "#161889",
  "rgb": {
    "r": 22,
    "g": 24,
    "b": 137
  },
  "hsl": {
    "h": 238.957,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.31498,
    "c": 0.17714,
    "h": 269.6
  },
  "luminance": 0.0263
}

Semantic roles & 50–950 ramp

primary
#161889
secondary
#BDBB3E
accent
#EC39EF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #161889

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

Preview Lab → · Contrast checker → · Palette generator →

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