#161563#161563

#161563 is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.5% C 0.131 H 273.4°. Best body text is #FFFFFF at 15.89:1 contrast (WCAG AA passes).

Color values

HEX#161563
RGBrgb(22, 21, 99)
HSLhsl(241, 65%, 24%)
HSVhsv(241, 79%, 39%)
CMYKcmyk(77.8%, 78.8%, 0%, 61.2%)
CIE-LABlab(13.28, 29.15, -45.31)
CIE-LCHlch(13.28, 53.88, 302.76°)
OKLaboklab(26.48% 0.0077 -0.1311)
OKLCHoklch(26.48% 0.131 273.4)
XYZxyz(2.8504, 1.6075, 11.9620)
Luminance0.0161 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161563 #626315
analogous
#153B63 #161563 #3D1563
triadic
#161563 #631615 #156316
tetradic
#161563 #63153B #626315 #15633D
square
#161563 #63153B #626315 #15633D
split-complementary
#161563 #633D15 #3B6315
monochromatic
#060519 #0B0A31 #161563 #212095 #2C2AC8

Accessibility & contrast

On white

15.89
#161563 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#161563 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161563
15.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161563#FFFFFF#000000##FFFFFF
##1615631.0015.891.3215.89
#FFFFFF15.891.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #161563;
/* rgb */ color: rgb(22, 21, 99);
/* oklch */ color: oklch(26.5% 0.131 273.4);
Tailwind
colors: {
  custom: {
    50: '#625390',
    500: '#161563',
    950: '#000000',
  },
}
SCSS
$custom: #161563;
$custom-light: #625390;
$custom-dark: #000000;
JSON
{
  "hex": "#161563",
  "rgb": {
    "r": 22,
    "g": 21,
    "b": 99
  },
  "hsl": {
    "h": 240.769,
    "s": 65,
    "l": 23.529
  },
  "oklch": {
    "l": 0.26481,
    "c": 0.13133,
    "h": 273.4
  },
  "luminance": 0.01608
}

Semantic roles & 50–950 ramp

primary
#161563
secondary
#999A3A
accent
#E840E6
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #161563

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

Preview Lab → · Contrast checker → · Palette generator →

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