#162558#162558

#162558 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.5% C 0.094 H 267.7°. Best body text is #FFFFFF at 14.59:1 contrast (WCAG AA passes).

Color values

HEX#162558
RGBrgb(22, 37, 88)
HSLhsl(226, 60%, 22%)
HSVhsv(226, 75%, 35%)
CMYKcmyk(75%, 58%, 0%, 65.5%)
CIE-LABlab(16.49, 13.50, -32.71)
CIE-LCHlch(16.49, 35.39, 292.42°)
OKLaboklab(28.51% -0.0038 -0.0941)
OKLCHoklch(28.51% 0.094 267.7)
XYZxyz(2.7533, 2.1980, 9.5098)
Luminance0.0220 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162558 #584916
analogous
#164658 #162558 #281658
triadic
#162558 #581625 #255816
tetradic
#162558 #581646 #584916 #165828
square
#162558 #581646 #584916 #165828
split-complementary
#162558 #582816 #465816
monochromatic
#060A18 #0A1027 #162558 #223A89 #2E4EBA

Accessibility & contrast

On white

14.59
#162558 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #162558
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162558#FFFFFF#000000##FFFFFF
##1625581.0014.591.4414.59
#FFFFFF14.591.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022C5A
Deuteranopia (green-blind)
#002657
Tritanopia (blue-blind)
#00313A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #162558;
/* rgb */ color: rgb(22, 37, 88);
/* oklch */ color: oklch(28.5% 0.094 267.7);
Tailwind
colors: {
  custom: {
    50: '#5d5f88',
    500: '#162558',
    950: '#000000',
  },
}
SCSS
$custom: #162558;
$custom-light: #5d5f88;
$custom-dark: #000000;
JSON
{
  "hex": "#162558",
  "rgb": {
    "r": 22,
    "g": 37,
    "b": 88
  },
  "hsl": {
    "h": 226.364,
    "s": 60,
    "l": 21.569
  },
  "oklch": {
    "l": 0.28511,
    "c": 0.09417,
    "h": 267.7
  },
  "luminance": 0.02198
}

Semantic roles & 50–950 ramp

primary
#162558
secondary
#8F7C3B
accent
#BF45E3
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#05040B
muted
#79797C

Preview Lab

Preview with #162558

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

Preview Lab → · Contrast checker → · Palette generator →

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