#162169#162169

#162169 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.3% C 0.125 H 269.8°. Best body text is #FFFFFF at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#162169
RGBrgb(22, 33, 105)
HSLhsl(232, 65%, 25%)
HSVhsv(232, 79%, 41%)
CMYKcmyk(79%, 68.6%, 0%, 58.8%)
CIE-LABlab(16.88, 23.39, -43.33)
CIE-LCHlch(16.88, 49.24, 298.36°)
OKLaboklab(29.28% -0.0004 -0.1253)
OKLCHoklch(29.28% 0.125 269.8)
XYZxyz(3.4237, 2.2778, 13.6211)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162169 #695E16
analogous
#164B69 #162169 #341669
triadic
#162169 #691621 #216916
tetradic
#162169 #69164B #695E16 #166934
square
#162169 #69164B #695E16 #166934
split-complementary
#162169 #693416 #4B6916
monochromatic
#050819 #0B1136 #162169 #21319C #2B41CE

Accessibility & contrast

On white

14.43
#162169 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#162169 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162169
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162169#FFFFFF#000000##FFFFFF
##1621691.0014.431.4614.43
#FFFFFF14.431.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6B
Deuteranopia (green-blind)
#002668
Tritanopia (blue-blind)
#003441
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #162169;
/* rgb */ color: rgb(22, 33, 105);
/* oklch */ color: oklch(29.3% 0.125 269.8);
Tailwind
colors: {
  custom: {
    50: '#625c95',
    500: '#162169',
    950: '#000000',
  },
}
SCSS
$custom: #162169;
$custom-light: #625c95;
$custom-dark: #000000;
JSON
{
  "hex": "#162169",
  "rgb": {
    "r": 22,
    "g": 33,
    "b": 105
  },
  "hsl": {
    "h": 232.048,
    "s": 65.354,
    "l": 24.902
  },
  "oklch": {
    "l": 0.29278,
    "c": 0.12531,
    "h": 269.8
  },
  "luminance": 0.02278
}

Semantic roles & 50–950 ramp

primary
#162169
secondary
#9F923B
accent
#D23FE8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E

Preview Lab

Preview with #162169

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

Preview Lab → · Contrast checker → · Palette generator →

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