#161163#161163

#161163 is a dark, vivid blue. Relative luminance 0.015; OKLCH L 25.9% C 0.135 H 274.1°. Best body text is #FFFFFF at 16.22:1 contrast (WCAG AA passes).

Color values

HEX#161163
RGBrgb(22, 17, 99)
HSLhsl(244, 71%, 23%)
HSVhsv(244, 83%, 39%)
CMYKcmyk(77.8%, 82.8%, 0%, 61.2%)
CIE-LABlab(12.43, 31.57, -46.71)
CIE-LCHlch(12.43, 56.38, 304.05°)
OKLaboklab(25.88% 0.0097 -0.1351)
OKLCHoklch(25.88% 0.135 274.1)
XYZxyz(2.7827, 1.4720, 11.9394)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161163 #5E6311
analogous
#113563 #161163 #3F1163
triadic
#161163 #631611 #116316
tetradic
#161163 #631135 #5E6311 #11633F
square
#161163 #631135 #5E6311 #11633F
split-complementary
#161163 #633F11 #356311
monochromatic
#06041A #0A082F #161163 #221A97 #2D23CB

Accessibility & contrast

On white

16.22
#161163 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161163
16.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161163#FFFFFF#000000##FFFFFF
##1611631.0016.221.2916.22
#FFFFFF16.221.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002465
Deuteranopia (green-blind)
#001C62
Tritanopia (blue-blind)
#002A3A
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #161163;
/* rgb */ color: rgb(22, 17, 99);
/* oklch */ color: oklch(25.9% 0.135 274.1);
Tailwind
colors: {
  custom: {
    50: '#625190',
    500: '#161163',
    950: '#000000',
  },
}
SCSS
$custom: #161163;
$custom-light: #625190;
$custom-dark: #000000;
JSON
{
  "hex": "#161163",
  "rgb": {
    "r": 22,
    "g": 17,
    "b": 99
  },
  "hsl": {
    "h": 243.659,
    "s": 70.69,
    "l": 22.745
  },
  "oklch": {
    "l": 0.25884,
    "c": 0.13547,
    "h": 274.1
  },
  "luminance": 0.01472
}

Semantic roles & 50–950 ramp

primary
#161163
secondary
#959B34
accent
#ED3AE3
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #161163

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

Preview Lab → · Contrast checker → · Palette generator →

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