#161A64#161A64

#161A64 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.4% C 0.127 H 272.1°. Best body text is #FFFFFF at 15.38:1 contrast (WCAG AA passes).

Color values

HEX#161A64
RGBrgb(22, 26, 100)
HSLhsl(237, 64%, 24%)
HSVhsv(237, 78%, 39%)
CMYKcmyk(78%, 74%, 0%, 60.8%)
CIE-LABlab(14.56, 26.27, -43.85)
CIE-LCHlch(14.56, 51.12, 300.92°)
OKLaboklab(27.44% 0.0046 -0.1269)
OKLCHoklch(27.44% 0.127 272.1)
XYZxyz(2.9997, 1.8292, 12.2491)
Luminance0.0183 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161A64 #646016
analogous
#164164 #161A64 #391664
triadic
#161A64 #64161A #1A6416
tetradic
#161A64 #641641 #646016 #166439
square
#161A64 #641641 #646016 #166439
split-complementary
#161A64 #643916 #416416
monochromatic
#060719 #0B0D32 #161A64 #212796 #2C34C8

Accessibility & contrast

On white

15.38
#161A64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#161A64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161A64
15.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161A64#FFFFFF#000000##FFFFFF
##161A641.0015.381.3715.38
#FFFFFF15.381.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002866
Deuteranopia (green-blind)
#002163
Tritanopia (blue-blind)
#002E3C
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #161a64;
/* rgb */ color: rgb(22, 26, 100);
/* oklch */ color: oklch(27.4% 0.127 272.1);
Tailwind
colors: {
  custom: {
    50: '#615791',
    500: '#161a64',
    950: '#000000',
  },
}
SCSS
$custom: #161a64;
$custom-light: #615791;
$custom-dark: #000000;
JSON
{
  "hex": "#161a64",
  "rgb": {
    "r": 22,
    "g": 26,
    "b": 100
  },
  "hsl": {
    "h": 236.923,
    "s": 63.934,
    "l": 23.922
  },
  "oklch": {
    "l": 0.27436,
    "c": 0.12694,
    "h": 272.1
  },
  "luminance": 0.01829
}

Semantic roles & 50–950 ramp

primary
#161A64
secondary
#9B963B
accent
#DE41E7
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #161A64

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

Preview Lab → · Contrast checker → · Palette generator →

#161A64 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva