#161789#161789

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

Color values

HEX#161789
RGBrgb(22, 23, 137)
HSLhsl(239, 72%, 31%)
HSVhsv(239, 84%, 54%)
CMYKcmyk(83.9%, 83.2%, 0%, 46.3%)
CIE-LABlab(18.32, 41.30, -61.46)
CIE-LCHlch(18.32, 74.05, 303.90°)
OKLaboklab(31.37% -0.0011 -0.178)
OKLCHoklch(31.37% 0.178 269.6)
XYZxyz(5.1511, 2.5889, 23.8903)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161789 #898816
analogous
#165089 #161789 #4E1689
triadic
#161789 #891617 #178916
tetradic
#161789 #891650 #898816 #16894E
square
#161789 #891650 #898816 #16894E
split-complementary
#161789 #894E16 #508916
monochromatic
#050520 #0E0E54 #161789 #1E20BE #3A3BDF

Accessibility & contrast

On white

13.83
#161789 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#161789 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161789
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161789#FFFFFF#000000##FFFFFF
##1617891.0013.831.5213.83
#FFFFFF13.831.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #161789;
/* rgb */ color: rgb(22, 23, 137);
/* oklch */ color: oklch(31.4% 0.178 269.6);
Tailwind
colors: {
  custom: {
    50: '#6c57ad',
    500: '#161789',
    950: '#000000',
  },
}
SCSS
$custom: #161789;
$custom-light: #6c57ad;
$custom-dark: #000000;
JSON
{
  "hex": "#161789",
  "rgb": {
    "r": 22,
    "g": 23,
    "b": 137
  },
  "hsl": {
    "h": 239.478,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.31374,
    "c": 0.17798,
    "h": 269.6
  },
  "luminance": 0.0259
}

Semantic roles & 50–950 ramp

primary
#161789
secondary
#BDBC3E
accent
#ED39EF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #161789

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

Preview Lab → · Contrast checker → · Palette generator →

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