#162048#162048

#162048 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.0% C 0.076 H 269.9°. Best body text is #FFFFFF at 15.74:1 contrast (WCAG AA passes).

Color values

HEX#162048
RGBrgb(22, 32, 72)
HSLhsl(228, 53%, 18%)
HSVhsv(228, 69%, 28%)
CMYKcmyk(69.4%, 55.6%, 0%, 71.8%)
CIE-LABlab(13.66, 10.59, -26.41)
CIE-LCHlch(13.66, 28.45, 291.84°)
OKLaboklab(25.96% -0.0001 -0.0756)
OKLCHoklch(25.96% 0.076 269.9)
XYZxyz(2.0167, 1.6713, 6.3460)
Luminance0.0167 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162048 #483E16
analogous
#163948 #162048 #251648
triadic
#162048 #481620 #204816
tetradic
#162048 #481639 #483E16 #164825
square
#162048 #481639 #483E16 #164825
split-complementary
#162048 #482516 #394816
monochromatic
#070A17 #080B19 #162048 #243577 #334AA6

Accessibility & contrast

On white

15.74
#162048 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#162048 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162048
15.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162048#FFFFFF#000000##FFFFFF
##1620481.0015.741.3315.74
#FFFFFF15.741.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2549
Deuteranopia (green-blind)
#022147
Tritanopia (blue-blind)
#002930
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #162048;
/* rgb */ color: rgb(22, 32, 72);
/* oklch */ color: oklch(26.0% 0.076 269.9);
Tailwind
colors: {
  custom: {
    50: '#595b7b',
    500: '#162048',
    950: '#000000',
  },
}
SCSS
$custom: #162048;
$custom-light: #595b7b;
$custom-dark: #000000;
JSON
{
  "hex": "#162048",
  "rgb": {
    "r": 22,
    "g": 32,
    "b": 72
  },
  "hsl": {
    "h": 228,
    "s": 53.191,
    "l": 18.431
  },
  "oklch": {
    "l": 0.2596,
    "c": 0.07562,
    "h": 269.9
  },
  "luminance": 0.01671
}

Semantic roles & 50–950 ramp

primary
#162048
secondary
#7F723A
accent
#C04BDD
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040409
muted
#79797B

Preview Lab

Preview with #162048

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

Preview Lab → · Contrast checker → · Palette generator →

#162048 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva