#161568#161568

#161568 is a dark, vivid blue. Relative luminance 0.017; OKLCH L 27.1% C 0.138 H 272.8°. Best body text is #FFFFFF at 15.66:1 contrast (WCAG AA passes).

Color values

HEX#161568
RGBrgb(22, 21, 104)
HSLhsl(241, 66%, 25%)
HSVhsv(241, 80%, 41%)
CMYKcmyk(78.8%, 79.8%, 0%, 59.2%)
CIE-LABlab(13.86, 30.98, -47.65)
CIE-LCHlch(13.86, 56.83, 303.03°)
OKLaboklab(27.07% 0.0066 -0.1379)
OKLCHoklch(27.07% 0.138 272.8)
XYZxyz(3.0969, 1.7061, 13.2601)
Luminance0.0171 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161568 #676815
analogous
#153E68 #161568 #401568
triadic
#161568 #681615 #156816
tetradic
#161568 #68153E #676815 #156840
square
#161568 #68153E #676815 #156840
split-complementary
#161568 #684015 #3E6815
monochromatic
#050519 #0B0B35 #161568 #211F9B #2C2ACE

Accessibility & contrast

On white

15.66
#161568 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#161568 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161568
15.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161568#FFFFFF#000000##FFFFFF
##1615681.0015.661.3415.66
#FFFFFF15.661.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00276A
Deuteranopia (green-blind)
#001F67
Tritanopia (blue-blind)
#002E3D
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #161568;
/* rgb */ color: rgb(22, 21, 104);
/* oklch */ color: oklch(27.1% 0.138 272.8);
Tailwind
colors: {
  custom: {
    50: '#635494',
    500: '#161568',
    950: '#000000',
  },
}
SCSS
$custom: #161568;
$custom-light: #635494;
$custom-dark: #000000;
JSON
{
  "hex": "#161568",
  "rgb": {
    "r": 22,
    "g": 21,
    "b": 104
  },
  "hsl": {
    "h": 240.723,
    "s": 66.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.2707,
    "c": 0.13805,
    "h": 272.8
  },
  "luminance": 0.01706
}

Semantic roles & 50–950 ramp

primary
#161568
secondary
#9E9F3A
accent
#E93EE7
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#06020D
muted
#7A787E

Preview Lab

Preview with #161568

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

Preview Lab → · Contrast checker → · Palette generator →

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