#161565#161565

#161565 is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.7% C 0.134 H 273.1°. Best body text is #FFFFFF at 15.80:1 contrast (WCAG AA passes).

Color values

HEX#161565
RGBrgb(22, 21, 101)
HSLhsl(241, 66%, 24%)
HSVhsv(241, 79%, 40%)
CMYKcmyk(78.2%, 79.2%, 0%, 60.4%)
CIE-LABlab(13.51, 29.89, -46.25)
CIE-LCHlch(13.51, 55.07, 302.87°)
OKLaboklab(26.72% 0.0073 -0.1338)
OKLCHoklch(26.72% 0.134 273.1)
XYZxyz(2.9472, 1.6462, 12.4718)
Luminance0.0165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161565 #646515
analogous
#153C65 #161565 #3E1565
triadic
#161565 #651615 #156516
tetradic
#161565 #65153C #646515 #15653E
square
#161565 #65153C #646515 #15653E
split-complementary
#161565 #653E15 #3C6515
monochromatic
#060519 #0B0A32 #161565 #212098 #2C2ACA

Accessibility & contrast

On white

15.80
#161565 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161565
15.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161565#FFFFFF#000000##FFFFFF
##1615651.0015.801.3315.80
#FFFFFF15.801.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002667
Deuteranopia (green-blind)
#001F64
Tritanopia (blue-blind)
#002C3C
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #161565;
/* rgb */ color: rgb(22, 21, 101);
/* oklch */ color: oklch(26.7% 0.134 273.1);
Tailwind
colors: {
  custom: {
    50: '#625392',
    500: '#161565',
    950: '#000000',
  },
}
SCSS
$custom: #161565;
$custom-light: #625392;
$custom-dark: #000000;
JSON
{
  "hex": "#161565",
  "rgb": {
    "r": 22,
    "g": 21,
    "b": 101
  },
  "hsl": {
    "h": 240.75,
    "s": 65.574,
    "l": 23.922
  },
  "oklch": {
    "l": 0.26715,
    "c": 0.13403,
    "h": 273.1
  },
  "luminance": 0.01646
}

Semantic roles & 50–950 ramp

primary
#161565
secondary
#9B9C3A
accent
#E93FE6
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #161565

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

Preview Lab → · Contrast checker → · Palette generator →

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