#161162#161162

#161162 is a dark, vivid blue. Relative luminance 0.015; OKLCH L 25.8% C 0.134 H 274.2°. Best body text is #FFFFFF at 16.27:1 contrast (WCAG AA passes).

Color values

HEX#161162
RGBrgb(22, 17, 98)
HSLhsl(244, 70%, 23%)
HSVhsv(244, 83%, 38%)
CMYKcmyk(77.6%, 82.7%, 0%, 61.6%)
CIE-LABlab(12.31, 31.21, -46.25)
CIE-LCHlch(12.31, 55.80, 304.01°)
OKLaboklab(25.76% 0.0099 -0.1338)
OKLCHoklch(25.76% 0.134 274.2)
XYZxyz(2.7352, 1.4530, 11.6892)
Luminance0.0145 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161162 #5D6211
analogous
#113462 #161162 #3F1162
triadic
#161162 #621611 #116216
tetradic
#161162 #621134 #5D6211 #11623F
square
#161162 #621134 #5D6211 #11623F
split-complementary
#161162 #623F11 #346211
monochromatic
#06051A #0A082E #161162 #221A96 #2D23CA

Accessibility & contrast

On white

16.27
#161162 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#161162 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161162
16.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161162#FFFFFF#000000##FFFFFF
##1611621.0016.271.2916.27
#FFFFFF16.271.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002464
Deuteranopia (green-blind)
#001C61
Tritanopia (blue-blind)
#002939
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #161162;
/* rgb */ color: rgb(22, 17, 98);
/* oklch */ color: oklch(25.8% 0.134 274.2);
Tailwind
colors: {
  custom: {
    50: '#625190',
    500: '#161162',
    950: '#000000',
  },
}
SCSS
$custom: #161162;
$custom-light: #625190;
$custom-dark: #000000;
JSON
{
  "hex": "#161162",
  "rgb": {
    "r": 22,
    "g": 17,
    "b": 98
  },
  "hsl": {
    "h": 243.704,
    "s": 70.435,
    "l": 22.549
  },
  "oklch": {
    "l": 0.25762,
    "c": 0.13415,
    "h": 274.2
  },
  "luminance": 0.01453
}

Semantic roles & 50–950 ramp

primary
#161162
secondary
#949A34
accent
#ED3BE2
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020D
muted
#7A787D

Preview Lab

Preview with #161162

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

Preview Lab → · Contrast checker → · Palette generator →

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