#161168#161168

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

Color values

HEX#161168
RGBrgb(22, 17, 104)
HSLhsl(243, 72%, 24%)
HSVhsv(243, 84%, 41%)
CMYKcmyk(78.8%, 83.7%, 0%, 59.2%)
CIE-LABlab(13.05, 33.31, -48.99)
CIE-LCHlch(13.05, 59.24, 304.21°)
OKLaboklab(26.5% 0.0084 -0.1417)
OKLCHoklch(26.5% 0.142 273.4)
XYZxyz(3.0292, 1.5706, 13.2375)
Luminance0.0157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161168 #636811
analogous
#113768 #161168 #411168
triadic
#161168 #681611 #116816
tetradic
#161168 #681137 #636811 #116841
square
#161168 #681137 #636811 #116841
split-complementary
#161168 #684111 #376811
monochromatic
#06041A #0B0833 #161168 #211A9D #2C22D1

Accessibility & contrast

On white

15.98
#161168 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#161168 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161168
15.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161168#FFFFFF#000000##FFFFFF
##1611681.0015.981.3115.98
#FFFFFF15.981.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00266A
Deuteranopia (green-blind)
#001D67
Tritanopia (blue-blind)
#002C3D
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #161168;
/* rgb */ color: rgb(22, 17, 104);
/* oklch */ color: oklch(26.5% 0.142 273.4);
Tailwind
colors: {
  custom: {
    50: '#635194',
    500: '#161168',
    950: '#000000',
  },
}
SCSS
$custom: #161168;
$custom-light: #635194;
$custom-dark: #000000;
JSON
{
  "hex": "#161168",
  "rgb": {
    "r": 22,
    "g": 17,
    "b": 104
  },
  "hsl": {
    "h": 243.448,
    "s": 71.901,
    "l": 23.725
  },
  "oklch": {
    "l": 0.265,
    "c": 0.14199,
    "h": 273.4
  },
  "luminance": 0.01571
}

Semantic roles & 50–950 ramp

primary
#161168
secondary
#9AA035
accent
#EF39E4
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#06020D
muted
#7A787E

Preview Lab

Preview with #161168

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

Preview Lab → · Contrast checker → · Palette generator →

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