#162358#162358

#162358 is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.1% C 0.097 H 268.9°. Best body text is #FFFFFF at 14.84:1 contrast (WCAG AA passes).

Color values

HEX#162358
RGBrgb(22, 35, 88)
HSLhsl(228, 60%, 22%)
HSVhsv(228, 75%, 35%)
CMYKcmyk(75%, 60.2%, 0%, 65.5%)
CIE-LABlab(15.89, 14.99, -33.70)
CIE-LCHlch(15.89, 36.88, 293.97°)
OKLaboklab(28.05% -0.0019 -0.097)
OKLCHoklch(28.05% 0.097 268.9)
XYZxyz(2.6928, 2.0770, 9.4896)
Luminance0.0208 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162358 #584B16
analogous
#164458 #162358 #2A1658
triadic
#162358 #581623 #235816
tetradic
#162358 #581644 #584B16 #16582A
square
#162358 #581644 #584B16 #16582A
split-complementary
#162358 #582A16 #445816
monochromatic
#060A18 #0A1027 #162358 #223689 #2E4ABA

Accessibility & contrast

On white

14.84
#162358 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#162358 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162358
14.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162358#FFFFFF#000000##FFFFFF
##1623581.0014.841.4214.84
#FFFFFF14.841.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5A
Deuteranopia (green-blind)
#002557
Tritanopia (blue-blind)
#003039
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #162358;
/* rgb */ color: rgb(22, 35, 88);
/* oklch */ color: oklch(28.1% 0.097 268.9);
Tailwind
colors: {
  custom: {
    50: '#5d5d88',
    500: '#162358',
    950: '#000000',
  },
}
SCSS
$custom: #162358;
$custom-light: #5d5d88;
$custom-dark: #000000;
JSON
{
  "hex": "#162358",
  "rgb": {
    "r": 22,
    "g": 35,
    "b": 88
  },
  "hsl": {
    "h": 228.182,
    "s": 60,
    "l": 21.569
  },
  "oklch": {
    "l": 0.28053,
    "c": 0.09704,
    "h": 268.9
  },
  "luminance": 0.02077
}

Semantic roles & 50–950 ramp

primary
#162358
secondary
#8F7F3B
accent
#C445E3
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05040B
muted
#79797C

Preview Lab

Preview with #162358

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

Preview Lab → · Contrast checker → · Palette generator →

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