#162F66#162F66

#162F66 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.0% C 0.102 H 263.4°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#162F66
RGBrgb(22, 47, 102)
HSLhsl(221, 65%, 24%)
HSVhsv(221, 78%, 40%)
CMYKcmyk(78.4%, 53.9%, 0%, 60%)
CIE-LABlab(20.68, 12.02, -35.19)
CIE-LCHlch(20.68, 37.18, 288.86°)
OKLaboklab(32.04% -0.0117 -0.1012)
OKLCHoklch(32.04% 0.102 263.4)
XYZxyz(3.7448, 3.1625, 12.9809)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162F66 #664D16
analogous
#165766 #162F66 #251666
triadic
#162F66 #66162F #2F6616
tetradic
#162F66 #661657 #664D16 #166625
square
#162F66 #661657 #664D16 #166625
split-complementary
#162F66 #662516 #576616
monochromatic
#050C19 #0B1834 #162F66 #214698 #2C5DCB

Accessibility & contrast

On white

12.86
#162F66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#162F66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162F66
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162F66#FFFFFF#000000##FFFFFF
##162F661.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3668
Deuteranopia (green-blind)
#002E65
Tritanopia (blue-blind)
#003C45
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #162f66;
/* rgb */ color: rgb(22, 47, 102);
/* oklch */ color: oklch(32.0% 0.102 263.4);
Tailwind
colors: {
  custom: {
    50: '#606792',
    500: '#162f66',
    950: '#000000',
  },
}
SCSS
$custom: #162f66;
$custom-light: #606792;
$custom-dark: #000000;
JSON
{
  "hex": "#162f66",
  "rgb": {
    "r": 22,
    "g": 47,
    "b": 102
  },
  "hsl": {
    "h": 221.25,
    "s": 64.516,
    "l": 24.314
  },
  "oklch": {
    "l": 0.3204,
    "c": 0.10186,
    "h": 263.4
  },
  "luminance": 0.03163
}

Semantic roles & 50–950 ramp

primary
#162F66
secondary
#9D7E3B
accent
#B340E8
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#05060D
muted
#7A7A7E

Preview Lab

Preview with #162F66

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

Preview Lab → · Contrast checker → · Palette generator →

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