#161945#161945

#161945 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.1% C 0.081 H 275.5°. Best body text is #FFFFFF at 16.68:1 contrast (WCAG AA passes).

Color values

HEX#161945
RGBrgb(22, 25, 69)
HSLhsl(236, 52%, 18%)
HSVhsv(236, 68%, 27%)
CMYKcmyk(68.1%, 63.8%, 0%, 72.9%)
CIE-LABlab(11.24, 14.66, -28.22)
CIE-LCHlch(11.24, 31.80, 297.45°)
OKLaboklab(24.07% 0.0078 -0.0811)
OKLCHoklch(24.07% 0.081 275.5)
XYZxyz(1.7523, 1.2954, 5.7868)
Luminance0.0130 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161945 #454216
analogous
#163045 #161945 #2A1645
triadic
#161945 #451619 #194516
tetradic
#161945 #451630 #454216 #16452A
square
#161945 #451630 #454216 #16452A
split-complementary
#161945 #452A16 #304516
monochromatic
#070817 #070817 #161945 #252A73 #343BA2

Accessibility & contrast

On white

16.68
#161945 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#161945 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161945
16.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161945#FFFFFF#000000##FFFFFF
##1619451.0016.681.2616.68
#FFFFFF16.681.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002046
Deuteranopia (green-blind)
#001C44
Tritanopia (blue-blind)
#00232C
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #161945;
/* rgb */ color: rgb(22, 25, 69);
/* oklch */ color: oklch(24.1% 0.081 275.5);
Tailwind
colors: {
  custom: {
    50: '#595579',
    500: '#161945',
    950: '#000000',
  },
}
SCSS
$custom: #161945;
$custom-light: #595579;
$custom-dark: #000000;
JSON
{
  "hex": "#161945",
  "rgb": {
    "r": 22,
    "g": 25,
    "b": 69
  },
  "hsl": {
    "h": 236.17,
    "s": 51.648,
    "l": 17.843
  },
  "oklch": {
    "l": 0.24066,
    "c": 0.08143,
    "h": 275.5
  },
  "luminance": 0.01296
}

Semantic roles & 50–950 ramp

primary
#161945
secondary
#7C783A
accent
#D24DDB
background
#F5F4F7
surface
#E9E8ED
border
#C5C4C8
text
#040309
muted
#79787B

Preview Lab

Preview with #161945

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

Preview Lab → · Contrast checker → · Palette generator →

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