#161A63#161A63

#161A63 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.3% C 0.126 H 272.2°. Best body text is #FFFFFF at 15.42:1 contrast (WCAG AA passes).

Color values

HEX#161A63
RGBrgb(22, 26, 99)
HSLhsl(237, 64%, 24%)
HSVhsv(237, 78%, 39%)
CMYKcmyk(77.8%, 73.7%, 0%, 61.2%)
CIE-LABlab(14.46, 25.88, -43.37)
CIE-LCHlch(14.46, 50.50, 300.83°)
OKLaboklab(27.33% 0.0048 -0.1254)
OKLCHoklch(27.33% 0.126 272.2)
XYZxyz(2.9516, 1.8099, 11.9958)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161A63 #635F16
analogous
#164063 #161A63 #381663
triadic
#161A63 #63161A #1A6316
tetradic
#161A63 #631640 #635F16 #166338
square
#161A63 #631640 #635F16 #166338
split-complementary
#161A63 #633816 #406316
monochromatic
#060719 #0B0D31 #161A63 #212795 #2C34C7

Accessibility & contrast

On white

15.42
#161A63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#161A63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161A63
15.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161A63#FFFFFF#000000##FFFFFF
##161A631.0015.421.3615.42
#FFFFFF15.421.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #161a63;
/* rgb */ color: rgb(22, 26, 99);
/* oklch */ color: oklch(27.3% 0.126 272.2);
Tailwind
colors: {
  custom: {
    50: '#615790',
    500: '#161a63',
    950: '#000000',
  },
}
SCSS
$custom: #161a63;
$custom-light: #615790;
$custom-dark: #000000;
JSON
{
  "hex": "#161a63",
  "rgb": {
    "r": 22,
    "g": 26,
    "b": 99
  },
  "hsl": {
    "h": 236.883,
    "s": 63.636,
    "l": 23.725
  },
  "oklch": {
    "l": 0.27326,
    "c": 0.12554,
    "h": 272.2
  },
  "luminance": 0.0181
}

Semantic roles & 50–950 ramp

primary
#161A63
secondary
#9A953B
accent
#DE41E7
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030D
muted
#7A787D

Preview Lab

Preview with #161A63

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

Preview Lab → · Contrast checker → · Palette generator →

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