#162F76#162F76

#162F76 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.4% C 0.126 H 265.3°. Best body text is #FFFFFF at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#162F76
RGBrgb(22, 47, 118)
HSLhsl(224, 69%, 27%)
HSVhsv(224, 81%, 46%)
CMYKcmyk(81.4%, 60.2%, 0%, 53.7%)
CIE-LABlab(21.98, 18.70, -43.40)
CIE-LCHlch(21.98, 47.25, 293.31°)
OKLaboklab(33.43% -0.0103 -0.1253)
OKLCHoklch(33.43% 0.126 265.3)
XYZxyz(4.6163, 3.5111, 17.5704)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162F76 #765D16
analogous
#165F76 #162F76 #2D1676
triadic
#162F76 #76162F #2F7616
tetradic
#162F76 #76165F #765D16 #16762D
square
#162F76 #76165F #765D16 #16762D
split-complementary
#162F76 #762D16 #5F7616
monochromatic
#050A1A #0C1A42 #162F76 #2044AA #2E5BD8

Accessibility & contrast

On white

12.34
#162F76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#162F76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162F76
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162F76#FFFFFF#000000##FFFFFF
##162F761.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003978
Deuteranopia (green-blind)
#003075
Tritanopia (blue-blind)
#00414D
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #162f76;
/* rgb */ color: rgb(22, 47, 118);
/* oklch */ color: oklch(33.4% 0.126 265.3);
Tailwind
colors: {
  custom: {
    50: '#64679e',
    500: '#162f76',
    950: '#000000',
  },
}
SCSS
$custom: #162f76;
$custom-light: #64679e;
$custom-dark: #000000;
JSON
{
  "hex": "#162f76",
  "rgb": {
    "r": 22,
    "g": 47,
    "b": 118
  },
  "hsl": {
    "h": 224.375,
    "s": 68.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.33434,
    "c": 0.12575,
    "h": 265.3
  },
  "luminance": 0.03512
}

Semantic roles & 50–950 ramp

primary
#162F76
secondary
#AC8F3C
accent
#BE3CEB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #162F76

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

Preview Lab → · Contrast checker → · Palette generator →

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