#161A89#161A89

#161A89 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.8% C 0.175 H 269.4°. Best body text is #FFFFFF at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#161A89
RGBrgb(22, 26, 137)
HSLhsl(238, 72%, 31%)
HSVhsv(238, 84%, 54%)
CMYKcmyk(83.9%, 81%, 0%, 46.3%)
CIE-LABlab(18.86, 39.71, -60.55)
CIE-LCHlch(18.86, 72.41, 303.26°)
OKLaboklab(31.76% -0.0018 -0.1754)
OKLCHoklch(31.76% 0.175 269.4)
XYZxyz(5.2141, 2.7149, 23.9113)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161A89 #898516
analogous
#165389 #161A89 #4B1689
triadic
#161A89 #89161A #1A8916
tetradic
#161A89 #891653 #898516 #16894B
square
#161A89 #891653 #898516 #16894B
split-complementary
#161A89 #894B16 #538916
monochromatic
#050620 #0E1054 #161A89 #1E24BE #3A40DF

Accessibility & contrast

On white

13.61
#161A89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#161A89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161A89
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161A89#FFFFFF#000000##FFFFFF
##161A891.0013.611.5413.61
#FFFFFF13.611.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00348C
Deuteranopia (green-blind)
#002887
Tritanopia (blue-blind)
#003C51
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #161a89;
/* rgb */ color: rgb(22, 26, 137);
/* oklch */ color: oklch(31.8% 0.175 269.4);
Tailwind
colors: {
  custom: {
    50: '#6c59ad',
    500: '#161a89',
    950: '#000000',
  },
}
SCSS
$custom: #161a89;
$custom-light: #6c59ad;
$custom-dark: #000000;
JSON
{
  "hex": "#161a89",
  "rgb": {
    "r": 22,
    "g": 26,
    "b": 137
  },
  "hsl": {
    "h": 237.913,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.31757,
    "c": 0.17541,
    "h": 269.4
  },
  "luminance": 0.02716
}

Semantic roles & 50–950 ramp

primary
#161A89
secondary
#BDB83E
accent
#E939EF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #161A89

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

Preview Lab → · Contrast checker → · Palette generator →

#161A89 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva