#162E66#162E66

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

Color values

HEX#162E66
RGBrgb(22, 46, 102)
HSLhsl(222, 65%, 24%)
HSVhsv(222, 78%, 40%)
CMYKcmyk(78.4%, 54.9%, 0%, 60%)
CIE-LABlab(20.38, 12.75, -35.68)
CIE-LCHlch(20.38, 37.89, 289.66°)
OKLaboklab(31.81% -0.0108 -0.1027)
OKLCHoklch(31.81% 0.103 264)
XYZxyz(3.7053, 3.0835, 12.9677)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162E66 #664E16
analogous
#165666 #162E66 #261666
triadic
#162E66 #66162E #2E6616
tetradic
#162E66 #661656 #664E16 #166626
square
#162E66 #661656 #664E16 #166626
split-complementary
#162E66 #662616 #566616
monochromatic
#050B19 #0B1734 #162E66 #214598 #2C5BCB

Accessibility & contrast

On white

12.99
#162E66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#162E66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162E66
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162E66#FFFFFF#000000##FFFFFF
##162E661.0012.991.6212.99
#FFFFFF12.991.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093568
Deuteranopia (green-blind)
#002E65
Tritanopia (blue-blind)
#003B45
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #162e66;
/* rgb */ color: rgb(22, 46, 102);
/* oklch */ color: oklch(31.8% 0.103 264.0);
Tailwind
colors: {
  custom: {
    50: '#606692',
    500: '#162e66',
    950: '#000000',
  },
}
SCSS
$custom: #162e66;
$custom-light: #606692;
$custom-dark: #000000;
JSON
{
  "hex": "#162e66",
  "rgb": {
    "r": 22,
    "g": 46,
    "b": 102
  },
  "hsl": {
    "h": 222,
    "s": 64.516,
    "l": 24.314
  },
  "oklch": {
    "l": 0.31805,
    "c": 0.10324,
    "h": 264
  },
  "luminance": 0.03084
}

Semantic roles & 50–950 ramp

primary
#162E66
secondary
#9D7F3B
accent
#B540E8
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#05050D
muted
#7A7A7E

Preview Lab

Preview with #162E66

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

Preview Lab → · Contrast checker → · Palette generator →

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