#162255#162255

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

Color values

HEX#162255
RGBrgb(22, 34, 85)
HSLhsl(229, 59%, 21%)
HSVhsv(229, 74%, 33%)
CMYKcmyk(74.1%, 60%, 0%, 66.7%)
CIE-LABlab(15.33, 14.48, -32.58)
CIE-LCHlch(15.33, 35.65, 293.96°)
OKLaboklab(27.56% -0.0011 -0.0937)
OKLCHoklch(27.56% 0.094 269.3)
XYZxyz(2.5420, 1.9703, 8.8389)
Luminance0.0197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162255 #554916
analogous
#164155 #162255 #291655
triadic
#162255 #551622 #225516
tetradic
#162255 #551641 #554916 #165529
square
#162255 #551641 #554916 #165529
split-complementary
#162255 #552916 #415516
monochromatic
#060A18 #090F24 #162255 #233586 #2F49B6

Accessibility & contrast

On white

15.06
#162255 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#162255 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162255
15.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162255#FFFFFF#000000##FFFFFF
##1622551.0015.061.3915.06
#FFFFFF15.061.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #162255;
/* rgb */ color: rgb(22, 34, 85);
/* oklch */ color: oklch(27.6% 0.094 269.3);
Tailwind
colors: {
  custom: {
    50: '#5c5c85',
    500: '#162255',
    950: '#000000',
  },
}
SCSS
$custom: #162255;
$custom-light: #5c5c85;
$custom-dark: #000000;
JSON
{
  "hex": "#162255",
  "rgb": {
    "r": 22,
    "g": 34,
    "b": 85
  },
  "hsl": {
    "h": 228.571,
    "s": 58.879,
    "l": 20.98
  },
  "oklch": {
    "l": 0.27556,
    "c": 0.09376,
    "h": 269.3
  },
  "luminance": 0.01971
}

Semantic roles & 50–950 ramp

primary
#162255
secondary
#8C7D3A
accent
#C446E2
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #162255

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

Preview Lab → · Contrast checker → · Palette generator →

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