#161990#161990

#161990 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.5% C 0.185 H 269.1°. Best body text is #FFFFFF at 13.33:1 contrast (WCAG AA passes).

Color values

HEX#161990
RGBrgb(22, 25, 144)
HSLhsl(239, 73%, 33%)
HSVhsv(239, 85%, 56%)
CMYKcmyk(84.7%, 82.6%, 0%, 43.5%)
CIE-LABlab(19.55, 42.59, -63.79)
CIE-LCHlch(19.55, 76.70, 303.73°)
OKLaboklab(32.49% -0.003 -0.1847)
OKLCHoklch(32.49% 0.185 269.1)
XYZxyz(5.7108, 2.8788, 26.6348)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161990 #908D16
analogous
#165690 #161990 #501690
triadic
#161990 #901619 #199016
tetradic
#161990 #901656 #908D16 #169050
square
#161990 #901656 #908D16 #169050
split-complementary
#161990 #905016 #569016
monochromatic
#060726 #0E105B #161990 #1E22C5 #3F43E2

Accessibility & contrast

On white

13.33
#161990 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#161990 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161990
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161990#FFFFFF#000000##FFFFFF
##1619901.0013.331.5813.33
#FFFFFF13.331.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003593
Deuteranopia (green-blind)
#00298E
Tritanopia (blue-blind)
#003F55
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #161990;
/* rgb */ color: rgb(22, 25, 144);
/* oklch */ color: oklch(32.5% 0.185 269.1);
Tailwind
colors: {
  custom: {
    50: '#6e59b2',
    500: '#161990',
    950: '#000000',
  },
}
SCSS
$custom: #161990;
$custom-light: #6e59b2;
$custom-dark: #000000;
JSON
{
  "hex": "#161990",
  "rgb": {
    "r": 22,
    "g": 25,
    "b": 144
  },
  "hsl": {
    "h": 238.525,
    "s": 73.494,
    "l": 32.549
  },
  "oklch": {
    "l": 0.32488,
    "c": 0.18475,
    "h": 269.1
  },
  "luminance": 0.02879
}

Semantic roles & 50–950 ramp

primary
#161990
secondary
#C2BF40
accent
#EC38F0
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #161990

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

Preview Lab → · Contrast checker → · Palette generator →

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