#162653#162653

#162653 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.3% C 0.085 H 266.3°. Best body text is #FFFFFF at 14.62:1 contrast (WCAG AA passes).

Color values

HEX#162653
RGBrgb(22, 38, 83)
HSLhsl(224, 58%, 21%)
HSVhsv(224, 73%, 33%)
CMYKcmyk(73.5%, 54.2%, 0%, 67.5%)
CIE-LABlab(16.41, 10.66, -29.49)
CIE-LCHlch(16.41, 31.35, 289.88°)
OKLaboklab(28.32% -0.0054 -0.0846)
OKLCHoklch(28.32% 0.085 266.3)
XYZxyz(2.5848, 2.1811, 8.4667)
Luminance0.0218 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162653 #534316
analogous
#164453 #162653 #241653
triadic
#162653 #531626 #265316
tetradic
#162653 #531644 #534316 #165324
square
#162653 #531644 #534316 #165324
split-complementary
#162653 #532416 #445316
monochromatic
#060B18 #091023 #162653 #233C83 #3052B4

Accessibility & contrast

On white

14.62
#162653 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#162653 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162653
14.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162653#FFFFFF#000000##FFFFFF
##1626531.0014.621.4414.62
#FFFFFF14.621.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D2C55
Deuteranopia (green-blind)
#002652
Tritanopia (blue-blind)
#003138
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #162653;
/* rgb */ color: rgb(22, 38, 83);
/* oklch */ color: oklch(28.3% 0.085 266.3);
Tailwind
colors: {
  custom: {
    50: '#5c5f84',
    500: '#162653',
    950: '#000000',
  },
}
SCSS
$custom: #162653;
$custom-light: #5c5f84;
$custom-dark: #000000;
JSON
{
  "hex": "#162653",
  "rgb": {
    "r": 22,
    "g": 38,
    "b": 83
  },
  "hsl": {
    "h": 224.262,
    "s": 58.095,
    "l": 20.588
  },
  "oklch": {
    "l": 0.28321,
    "c": 0.08474,
    "h": 266.3
  },
  "luminance": 0.02181
}

Semantic roles & 50–950 ramp

primary
#162653
secondary
#8A753A
accent
#B946E1
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #162653

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

Preview Lab → · Contrast checker → · Palette generator →

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