#161689#161689

#161689 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.3% C 0.179 H 269.7°. Best body text is #FFFFFF at 13.91:1 contrast (WCAG AA passes).

Color values

HEX#161689
RGBrgb(22, 22, 137)
HSLhsl(240, 72%, 31%)
HSVhsv(240, 84%, 54%)
CMYKcmyk(83.9%, 83.9%, 0%, 46.3%)
CIE-LABlab(18.14, 41.81, -61.75)
CIE-LCHlch(18.14, 74.57, 304.10°)
OKLaboklab(31.25% -0.0009 -0.1788)
OKLCHoklch(31.25% 0.179 269.7)
XYZxyz(5.1316, 2.5499, 23.8838)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161689 #898916
analogous
#164F89 #161689 #4F1689
triadic
#161689 #891616 #168916
tetradic
#161689 #89164F #898916 #16894F
square
#161689 #89164F #898916 #16894F
split-complementary
#161689 #894F16 #4F8916
monochromatic
#050520 #0E0E54 #161689 #1E1EBE #3A3ADF

Accessibility & contrast

On white

13.91
#161689 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#161689 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161689
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161689#FFFFFF#000000##FFFFFF
##1616891.0013.911.5113.91
#FFFFFF13.911.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #161689;
/* rgb */ color: rgb(22, 22, 137);
/* oklch */ color: oklch(31.3% 0.179 269.7);
Tailwind
colors: {
  custom: {
    50: '#6c57ad',
    500: '#161689',
    950: '#000000',
  },
}
SCSS
$custom: #161689;
$custom-light: #6c57ad;
$custom-dark: #000000;
JSON
{
  "hex": "#161689",
  "rgb": {
    "r": 22,
    "g": 22,
    "b": 137
  },
  "hsl": {
    "h": 240,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.31254,
    "c": 0.17879,
    "h": 269.7
  },
  "luminance": 0.02551
}

Semantic roles & 50–950 ramp

primary
#161689
secondary
#BDBD3E
accent
#EF39EF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #161689

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

Preview Lab → · Contrast checker → · Palette generator →

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