#162853#162853

#162853 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.8% C 0.082 H 264.7°. Best body text is #FFFFFF at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#162853
RGBrgb(22, 40, 83)
HSLhsl(222, 58%, 21%)
HSVhsv(222, 73%, 33%)
CMYKcmyk(73.5%, 51.8%, 0%, 67.5%)
CIE-LABlab(17.05, 9.18, -28.46)
CIE-LCHlch(17.05, 29.90, 287.87°)
OKLaboklab(28.81% -0.0076 -0.0815)
OKLCHoklch(28.81% 0.082 264.7)
XYZxyz(2.6505, 2.3124, 8.4886)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162853 #534116
analogous
#164653 #162853 #221653
triadic
#162853 #531628 #285316
tetradic
#162853 #531646 #534116 #165322
square
#162853 #531646 #534116 #165322
split-complementary
#162853 #532216 #465316
monochromatic
#060C18 #091123 #162853 #233F83 #3057B4

Accessibility & contrast

On white

14.36
#162853 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#162853 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162853
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162853#FFFFFF#000000##FFFFFF
##1628531.0014.361.4614.36
#FFFFFF14.361.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122D55
Deuteranopia (green-blind)
#052752
Tritanopia (blue-blind)
#003239
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #162853;
/* rgb */ color: rgb(22, 40, 83);
/* oklch */ color: oklch(28.8% 0.082 264.7);
Tailwind
colors: {
  custom: {
    50: '#5c6184',
    500: '#162853',
    950: '#000000',
  },
}
SCSS
$custom: #162853;
$custom-light: #5c6184;
$custom-dark: #000000;
JSON
{
  "hex": "#162853",
  "rgb": {
    "r": 22,
    "g": 40,
    "b": 83
  },
  "hsl": {
    "h": 222.295,
    "s": 58.095,
    "l": 20.588
  },
  "oklch": {
    "l": 0.28808,
    "c": 0.08187,
    "h": 264.7
  },
  "luminance": 0.02313
}

Semantic roles & 50–950 ramp

primary
#162853
secondary
#8A733A
accent
#B446E1
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #162853

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

Preview Lab → · Contrast checker → · Palette generator →

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