#162155#162155

#162155 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.3% C 0.095 H 269.9°. Best body text is #FFFFFF at 15.19:1 contrast (WCAG AA passes).

Color values

HEX#162155
RGBrgb(22, 33, 85)
HSLhsl(230, 59%, 21%)
HSVhsv(230, 74%, 33%)
CMYKcmyk(74.1%, 61.2%, 0%, 66.7%)
CIE-LABlab(15.03, 15.23, -33.07)
CIE-LCHlch(15.03, 36.41, 294.73°)
OKLaboklab(27.33% -0.0001 -0.0952)
OKLCHoklch(27.33% 0.095 269.9)
XYZxyz(2.5139, 1.9139, 8.8295)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162155 #554A16
analogous
#164055 #162155 #2A1655
triadic
#162155 #551621 #215516
tetradic
#162155 #551640 #554A16 #16552A
square
#162155 #551640 #554A16 #16552A
split-complementary
#162155 #552A16 #405516
monochromatic
#060918 #090E24 #162155 #233486 #2F47B6

Accessibility & contrast

On white

15.19
#162155 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#162155 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162155
15.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162155#FFFFFF#000000##FFFFFF
##1621551.0015.191.3815.19
#FFFFFF15.191.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002957
Deuteranopia (green-blind)
#002354
Tritanopia (blue-blind)
#002E37
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #162155;
/* rgb */ color: rgb(22, 33, 85);
/* oklch */ color: oklch(27.3% 0.095 269.9);
Tailwind
colors: {
  custom: {
    50: '#5d5b85',
    500: '#162155',
    950: '#000000',
  },
}
SCSS
$custom: #162155;
$custom-light: #5d5b85;
$custom-dark: #000000;
JSON
{
  "hex": "#162155",
  "rgb": {
    "r": 22,
    "g": 33,
    "b": 85
  },
  "hsl": {
    "h": 229.524,
    "s": 58.879,
    "l": 20.98
  },
  "oklch": {
    "l": 0.2733,
    "c": 0.0952,
    "h": 269.9
  },
  "luminance": 0.01914
}

Semantic roles & 50–950 ramp

primary
#162155
secondary
#8C7E3A
accent
#C746E2
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#05040B
muted
#79797C

Preview Lab

Preview with #162155

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

Preview Lab → · Contrast checker → · Palette generator →

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