#162F67#162F67

#162F67 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.1% C 0.103 H 263.6°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#162F67
RGBrgb(22, 47, 103)
HSLhsl(221, 65%, 25%)
HSVhsv(221, 79%, 40%)
CMYKcmyk(78.6%, 54.4%, 0%, 59.6%)
CIE-LABlab(20.76, 12.44, -35.71)
CIE-LCHlch(20.76, 37.82, 289.20°)
OKLaboklab(32.12% -0.0116 -0.1027)
OKLCHoklch(32.12% 0.103 263.6)
XYZxyz(3.7947, 3.1825, 13.2436)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162F67 #674E16
analogous
#165867 #162F67 #251667
triadic
#162F67 #67162F #2F6716
tetradic
#162F67 #671658 #674E16 #166725
square
#162F67 #671658 #674E16 #166725
split-complementary
#162F67 #672516 #586716
monochromatic
#050C19 #0B1835 #162F67 #214699 #2C5DCC

Accessibility & contrast

On white

12.83
#162F67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#162F67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162F67
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162F67#FFFFFF#000000##FFFFFF
##162F671.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3669
Deuteranopia (green-blind)
#002E66
Tritanopia (blue-blind)
#003C46
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #162f67;
/* rgb */ color: rgb(22, 47, 103);
/* oklch */ color: oklch(32.1% 0.103 263.6);
Tailwind
colors: {
  custom: {
    50: '#606793',
    500: '#162f67',
    950: '#000000',
  },
}
SCSS
$custom: #162f67;
$custom-light: #606793;
$custom-dark: #000000;
JSON
{
  "hex": "#162f67",
  "rgb": {
    "r": 22,
    "g": 47,
    "b": 103
  },
  "hsl": {
    "h": 221.481,
    "s": 64.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.32123,
    "c": 0.10338,
    "h": 263.6
  },
  "luminance": 0.03183
}

Semantic roles & 50–950 ramp

primary
#162F67
secondary
#9E7F3B
accent
#B440E8
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#05060D
muted
#7A7A7E

Preview Lab

Preview with #162F67

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

Preview Lab → · Contrast checker → · Palette generator →

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