#162353#162353

#162353 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.6% C 0.089 H 268.5°. Best body text is #FFFFFF at 15.01:1 contrast (WCAG AA passes).

Color values

HEX#162353
RGBrgb(22, 35, 83)
HSLhsl(227, 58%, 21%)
HSVhsv(227, 73%, 33%)
CMYKcmyk(73.5%, 57.8%, 0%, 67.5%)
CIE-LABlab(15.47, 12.90, -31.00)
CIE-LCHlch(15.47, 33.58, 292.60°)
OKLaboklab(27.61% -0.0023 -0.0891)
OKLCHoklch(27.61% 0.089 268.5)
XYZxyz(2.4927, 1.9969, 8.4360)
Luminance0.0200 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162353 #534616
analogous
#164153 #162353 #271653
triadic
#162353 #531623 #235316
tetradic
#162353 #531641 #534616 #165327
square
#162353 #531641 #534616 #165327
split-complementary
#162353 #532716 #415316
monochromatic
#060A18 #090F23 #162353 #233783 #304CB4

Accessibility & contrast

On white

15.01
#162353 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#162353 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162353
15.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162353#FFFFFF#000000##FFFFFF
##1623531.0015.011.4015.01
#FFFFFF15.011.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#042A55
Deuteranopia (green-blind)
#002452
Tritanopia (blue-blind)
#002E37
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #162353;
/* rgb */ color: rgb(22, 35, 83);
/* oklch */ color: oklch(27.6% 0.089 268.5);
Tailwind
colors: {
  custom: {
    50: '#5c5d84',
    500: '#162353',
    950: '#000000',
  },
}
SCSS
$custom: #162353;
$custom-light: #5c5d84;
$custom-dark: #000000;
JSON
{
  "hex": "#162353",
  "rgb": {
    "r": 22,
    "g": 35,
    "b": 83
  },
  "hsl": {
    "h": 227.213,
    "s": 58.095,
    "l": 20.588
  },
  "oklch": {
    "l": 0.27609,
    "c": 0.08912,
    "h": 268.5
  },
  "luminance": 0.01997
}

Semantic roles & 50–950 ramp

primary
#162353
secondary
#8A793A
accent
#C046E1
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #162353

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

Preview Lab → · Contrast checker → · Palette generator →

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