#162F72#162F72

#162F72 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 33.1% C 0.120 H 264.9°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#162F72
RGBrgb(22, 47, 114)
HSLhsl(224, 68%, 27%)
HSVhsv(224, 81%, 45%)
CMYKcmyk(80.7%, 58.8%, 0%, 55.3%)
CIE-LABlab(21.65, 17.04, -41.39)
CIE-LCHlch(21.65, 44.76, 292.38°)
OKLaboklab(33.07% -0.0106 -0.1194)
OKLCHoklch(33.07% 0.12 264.9)
XYZxyz(4.3836, 3.4180, 16.3450)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162F72 #725916
analogous
#165D72 #162F72 #2B1672
triadic
#162F72 #72162F #2F7216
tetradic
#162F72 #72165D #725916 #16722B
square
#162F72 #72165D #725916 #16722B
split-complementary
#162F72 #722B16 #5D7216
monochromatic
#050B1A #0C1A3F #162F72 #2044A5 #2C5AD6

Accessibility & contrast

On white

12.47
#162F72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#162F72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162F72
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162F72#FFFFFF#000000##FFFFFF
##162F721.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003874
Deuteranopia (green-blind)
#003071
Tritanopia (blue-blind)
#00404B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #162f72;
/* rgb */ color: rgb(22, 47, 114);
/* oklch */ color: oklch(33.1% 0.120 264.9);
Tailwind
colors: {
  custom: {
    50: '#63679b',
    500: '#162f72',
    950: '#000000',
  },
}
SCSS
$custom: #162f72;
$custom-light: #63679b;
$custom-dark: #000000;
JSON
{
  "hex": "#162f72",
  "rgb": {
    "r": 22,
    "g": 47,
    "b": 114
  },
  "hsl": {
    "h": 223.696,
    "s": 67.647,
    "l": 26.667
  },
  "oklch": {
    "l": 0.33073,
    "c": 0.11989,
    "h": 264.9
  },
  "luminance": 0.03419
}

Semantic roles & 50–950 ramp

primary
#162F72
secondary
#A88B3C
accent
#BB3DEB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #162F72

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

Preview Lab → · Contrast checker → · Palette generator →

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