#161864#161864

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

Color values

HEX#161864
RGBrgb(22, 24, 100)
HSLhsl(238, 64%, 24%)
HSVhsv(238, 78%, 39%)
CMYKcmyk(78%, 76%, 0%, 60.8%)
CIE-LABlab(14.08, 27.60, -44.65)
CIE-LCHlch(14.08, 52.49, 301.72°)
OKLaboklab(27.09% 0.0058 -0.1292)
OKLCHoklch(27.09% 0.129 272.6)
XYZxyz(2.9570, 1.7436, 12.2348)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161864 #646216
analogous
#163F64 #161864 #3B1664
triadic
#161864 #641618 #186416
tetradic
#161864 #64163F #646216 #16643B
square
#161864 #64163F #646216 #16643B
split-complementary
#161864 #643B16 #3F6416
monochromatic
#060619 #0B0C32 #161864 #212496 #2C30C8

Accessibility & contrast

On white

15.57
#161864 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#161864 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161864
15.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161864#FFFFFF#000000##FFFFFF
##1618641.0015.571.3515.57
#FFFFFF15.571.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002766
Deuteranopia (green-blind)
#002063
Tritanopia (blue-blind)
#002D3C
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #161864;
/* rgb */ color: rgb(22, 24, 100);
/* oklch */ color: oklch(27.1% 0.129 272.6);
Tailwind
colors: {
  custom: {
    50: '#625591',
    500: '#161864',
    950: '#000000',
  },
}
SCSS
$custom: #161864;
$custom-light: #625591;
$custom-dark: #000000;
JSON
{
  "hex": "#161864",
  "rgb": {
    "r": 22,
    "g": 24,
    "b": 100
  },
  "hsl": {
    "h": 238.462,
    "s": 63.934,
    "l": 23.922
  },
  "oklch": {
    "l": 0.27088,
    "c": 0.12931,
    "h": 272.6
  },
  "luminance": 0.01744
}

Semantic roles & 50–950 ramp

primary
#161864
secondary
#9B983B
accent
#E341E7
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #161864

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

Preview Lab → · Contrast checker → · Palette generator →

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