#162357#162357

#162357 is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.0% C 0.095 H 268.8°. Best body text is #FFFFFF at 14.87:1 contrast (WCAG AA passes).

Color values

HEX#162357
RGBrgb(22, 35, 87)
HSLhsl(228, 60%, 21%)
HSVhsv(228, 75%, 34%)
CMYKcmyk(74.7%, 59.8%, 0%, 65.9%)
CIE-LABlab(15.80, 14.57, -33.16)
CIE-LCHlch(15.80, 36.22, 293.72°)
OKLaboklab(27.96% -0.002 -0.0954)
OKLCHoklch(27.96% 0.095 268.8)
XYZxyz(2.6516, 2.0605, 9.2730)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162357 #574A16
analogous
#164457 #162357 #2A1657
triadic
#162357 #571623 #235716
tetradic
#162357 #571644 #574A16 #16572A
square
#162357 #571644 #574A16 #16572A
split-complementary
#162357 #572A16 #445716
monochromatic
#060A18 #0A0F26 #162357 #223788 #2F4AB9

Accessibility & contrast

On white

14.87
#162357 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#162357 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162357
14.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162357#FFFFFF#000000##FFFFFF
##1623571.0014.871.4114.87
#FFFFFF14.871.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A59
Deuteranopia (green-blind)
#002556
Tritanopia (blue-blind)
#003039
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #162357;
/* rgb */ color: rgb(22, 35, 87);
/* oklch */ color: oklch(28.0% 0.095 268.8);
Tailwind
colors: {
  custom: {
    50: '#5d5d87',
    500: '#162357',
    950: '#000000',
  },
}
SCSS
$custom: #162357;
$custom-light: #5d5d87;
$custom-dark: #000000;
JSON
{
  "hex": "#162357",
  "rgb": {
    "r": 22,
    "g": 35,
    "b": 87
  },
  "hsl": {
    "h": 228,
    "s": 59.633,
    "l": 21.373
  },
  "oklch": {
    "l": 0.27963,
    "c": 0.09546,
    "h": 268.8
  },
  "luminance": 0.02061
}

Semantic roles & 50–950 ramp

primary
#162357
secondary
#8E7E3A
accent
#C345E3
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#05040B
muted
#79797C

Preview Lab

Preview with #162357

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

Preview Lab → · Contrast checker → · Palette generator →

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