#161989#161989

#161989 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.6% C 0.176 H 269.5°. Best body text is #FFFFFF at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#161989
RGBrgb(22, 25, 137)
HSLhsl(238, 72%, 31%)
HSVhsv(238, 84%, 54%)
CMYKcmyk(83.9%, 81.8%, 0%, 46.3%)
CIE-LABlab(18.68, 40.25, -60.86)
CIE-LCHlch(18.68, 72.97, 303.48°)
OKLaboklab(31.63% -0.0016 -0.1763)
OKLCHoklch(31.63% 0.176 269.5)
XYZxyz(5.1923, 2.6714, 23.9040)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161989 #898616
analogous
#165289 #161989 #4C1689
triadic
#161989 #891619 #198916
tetradic
#161989 #891652 #898616 #16894C
square
#161989 #891652 #898616 #16894C
split-complementary
#161989 #894C16 #528916
monochromatic
#050620 #0E0F54 #161989 #1E23BE #3A3EDF

Accessibility & contrast

On white

13.69
#161989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161989
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161989#FFFFFF#000000##FFFFFF
##1619891.0013.691.5313.69
#FFFFFF13.691.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.691.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: #161989;
/* rgb */ color: rgb(22, 25, 137);
/* oklch */ color: oklch(31.6% 0.176 269.5);
Tailwind
colors: {
  custom: {
    50: '#6c58ad',
    500: '#161989',
    950: '#000000',
  },
}
SCSS
$custom: #161989;
$custom-light: #6c58ad;
$custom-dark: #000000;
JSON
{
  "hex": "#161989",
  "rgb": {
    "r": 22,
    "g": 25,
    "b": 137
  },
  "hsl": {
    "h": 238.435,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.31626,
    "c": 0.17629,
    "h": 269.5
  },
  "luminance": 0.02672
}

Semantic roles & 50–950 ramp

primary
#161989
secondary
#BDBA3E
accent
#EA39EF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #161989

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

Preview Lab → · Contrast checker → · Palette generator →

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