#162E67#162E67

#162E67 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.9% C 0.105 H 264.1°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#162E67
RGBrgb(22, 46, 103)
HSLhsl(222, 65%, 25%)
HSVhsv(222, 79%, 40%)
CMYKcmyk(78.6%, 55.3%, 0%, 59.6%)
CIE-LABlab(20.45, 13.17, -36.21)
CIE-LCHlch(20.45, 38.53, 289.98°)
OKLaboklab(31.89% -0.0107 -0.1042)
OKLCHoklch(31.89% 0.105 264.1)
XYZxyz(3.7552, 3.1034, 13.2304)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162E67 #674F16
analogous
#165767 #162E67 #271667
triadic
#162E67 #67162E #2E6716
tetradic
#162E67 #671657 #674F16 #166727
square
#162E67 #671657 #674F16 #166727
split-complementary
#162E67 #672716 #576716
monochromatic
#050B19 #0B1735 #162E67 #214599 #2C5BCC

Accessibility & contrast

On white

12.96
#162E67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #162E67
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162E67#FFFFFF#000000##FFFFFF
##162E671.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073569
Deuteranopia (green-blind)
#002E66
Tritanopia (blue-blind)
#003C45
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #162e67;
/* rgb */ color: rgb(22, 46, 103);
/* oklch */ color: oklch(31.9% 0.105 264.1);
Tailwind
colors: {
  custom: {
    50: '#606693',
    500: '#162e67',
    950: '#000000',
  },
}
SCSS
$custom: #162e67;
$custom-light: #606693;
$custom-dark: #000000;
JSON
{
  "hex": "#162e67",
  "rgb": {
    "r": 22,
    "g": 46,
    "b": 103
  },
  "hsl": {
    "h": 222.222,
    "s": 64.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.3189,
    "c": 0.10476,
    "h": 264.1
  },
  "luminance": 0.03104
}

Semantic roles & 50–950 ramp

primary
#162E67
secondary
#9E803B
accent
#B640E8
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#05050D
muted
#7A7A7E

Preview Lab

Preview with #162E67

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

Preview Lab → · Contrast checker → · Palette generator →

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