#162D69#162D69

#162D69 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.8% C 0.109 H 264.9°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#162D69
RGBrgb(22, 45, 105)
HSLhsl(223, 65%, 25%)
HSVhsv(223, 79%, 41%)
CMYKcmyk(79%, 57.1%, 0%, 58.8%)
CIE-LABlab(20.31, 14.74, -37.74)
CIE-LCHlch(20.31, 40.52, 291.33°)
OKLaboklab(31.83% -0.0096 -0.1087)
OKLCHoklch(31.83% 0.109 264.9)
XYZxyz(3.8182, 3.0668, 13.7526)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162D69 #695216
analogous
#165769 #162D69 #281669
triadic
#162D69 #69162D #2D6916
tetradic
#162D69 #691657 #695216 #166928
square
#162D69 #691657 #695216 #166928
split-complementary
#162D69 #692816 #576916
monochromatic
#050B19 #0B1736 #162D69 #21439C #2B58CE

Accessibility & contrast

On white

13.02
#162D69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#162D69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162D69
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162D69#FFFFFF#000000##FFFFFF
##162D691.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356B
Deuteranopia (green-blind)
#002D68
Tritanopia (blue-blind)
#003C46
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #162d69;
/* rgb */ color: rgb(22, 45, 105);
/* oklch */ color: oklch(31.8% 0.109 264.9);
Tailwind
colors: {
  custom: {
    50: '#616594',
    500: '#162d69',
    950: '#000000',
  },
}
SCSS
$custom: #162d69;
$custom-light: #616594;
$custom-dark: #000000;
JSON
{
  "hex": "#162d69",
  "rgb": {
    "r": 22,
    "g": 45,
    "b": 105
  },
  "hsl": {
    "h": 223.373,
    "s": 65.354,
    "l": 24.902
  },
  "oklch": {
    "l": 0.31831,
    "c": 0.10917,
    "h": 264.9
  },
  "luminance": 0.03067
}

Semantic roles & 50–950 ramp

primary
#162D69
secondary
#9F843B
accent
#BA3FE8
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06050D
muted
#7A7A7E

Preview Lab

Preview with #162D69

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

Preview Lab → · Contrast checker → · Palette generator →

#162D69 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva