#162C53#162C53

#162C53 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 29.8% C 0.076 H 260.9°. Best body text is #FFFFFF at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#162C53
RGBrgb(22, 44, 83)
HSLhsl(218, 58%, 21%)
HSVhsv(218, 73%, 33%)
CMYKcmyk(73.5%, 47%, 0%, 67.5%)
CIE-LABlab(18.35, 6.23, -26.38)
CIE-LCHlch(18.35, 27.10, 283.29°)
OKLaboklab(29.81% -0.012 -0.0753)
OKLCHoklch(29.81% 0.076 260.9)
XYZxyz(2.7923, 2.5962, 8.5359)
Luminance0.0260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162C53 #533D16
analogous
#164A53 #162C53 #1F1653
triadic
#162C53 #53162C #2C5316
tetradic
#162C53 #53164A #533D16 #16531F
square
#162C53 #53164A #533D16 #16531F
split-complementary
#162C53 #531F16 #4A5316
monochromatic
#060D18 #091223 #162C53 #234683 #305FB4

Accessibility & contrast

On white

13.82
#162C53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#162C53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162C53
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162C53#FFFFFF#000000##FFFFFF
##162C531.0013.821.5213.82
#FFFFFF13.821.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193055
Deuteranopia (green-blind)
#0F2A52
Tritanopia (blue-blind)
#00353B
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #162c53;
/* rgb */ color: rgb(22, 44, 83);
/* oklch */ color: oklch(29.8% 0.076 260.9);
Tailwind
colors: {
  custom: {
    50: '#5b6483',
    500: '#162c53',
    950: '#000000',
  },
}
SCSS
$custom: #162c53;
$custom-light: #5b6483;
$custom-dark: #000000;
JSON
{
  "hex": "#162c53",
  "rgb": {
    "r": 22,
    "g": 44,
    "b": 83
  },
  "hsl": {
    "h": 218.361,
    "s": 58.095,
    "l": 20.588
  },
  "oklch": {
    "l": 0.29807,
    "c": 0.07627,
    "h": 260.9
  },
  "luminance": 0.02596
}

Semantic roles & 50–950 ramp

primary
#162C53
secondary
#8A6E3A
accent
#A946E1
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #162C53

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

Preview Lab → · Contrast checker → · Palette generator →

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