#161564#161564

#161564 is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.6% C 0.133 H 273.2°. Best body text is #FFFFFF at 15.84:1 contrast (WCAG AA passes).

Color values

HEX#161564
RGBrgb(22, 21, 100)
HSLhsl(241, 65%, 24%)
HSVhsv(241, 79%, 39%)
CMYKcmyk(78%, 79%, 0%, 60.8%)
CIE-LABlab(13.39, 29.52, -45.78)
CIE-LCHlch(13.39, 54.48, 302.82°)
OKLaboklab(26.6% 0.0075 -0.1325)
OKLCHoklch(26.6% 0.133 273.2)
XYZxyz(2.8985, 1.6267, 12.2153)
Luminance0.0163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161564 #636415
analogous
#153B64 #161564 #3D1564
triadic
#161564 #641615 #156416
tetradic
#161564 #64153B #636415 #15643D
square
#161564 #64153B #636415 #15643D
split-complementary
#161564 #643D15 #3B6415
monochromatic
#060519 #0B0A31 #161564 #212097 #2C2AC9

Accessibility & contrast

On white

15.84
#161564 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#161564 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161564
15.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161564#FFFFFF#000000##FFFFFF
##1615641.0015.841.3315.84
#FFFFFF15.841.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002666
Deuteranopia (green-blind)
#001E63
Tritanopia (blue-blind)
#002C3B
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #161564;
/* rgb */ color: rgb(22, 21, 100);
/* oklch */ color: oklch(26.6% 0.133 273.2);
Tailwind
colors: {
  custom: {
    50: '#625391',
    500: '#161564',
    950: '#000000',
  },
}
SCSS
$custom: #161564;
$custom-light: #625391;
$custom-dark: #000000;
JSON
{
  "hex": "#161564",
  "rgb": {
    "r": 22,
    "g": 21,
    "b": 100
  },
  "hsl": {
    "h": 240.759,
    "s": 65.289,
    "l": 23.725
  },
  "oklch": {
    "l": 0.26598,
    "c": 0.13268,
    "h": 273.2
  },
  "luminance": 0.01627
}

Semantic roles & 50–950 ramp

primary
#161564
secondary
#9A9B3A
accent
#E840E6
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #161564

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

Preview Lab → · Contrast checker → · Palette generator →

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