#162455#162455

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

Color values

HEX#162455
RGBrgb(22, 36, 85)
HSLhsl(227, 59%, 21%)
HSVhsv(227, 74%, 33%)
CMYKcmyk(74.1%, 57.6%, 0%, 66.7%)
CIE-LABlab(15.94, 12.99, -31.59)
CIE-LCHlch(15.94, 34.16, 292.35°)
OKLaboklab(28.02% -0.0031 -0.0908)
OKLCHoklch(28.02% 0.091 268)
XYZxyz(2.6009, 2.0879, 8.8585)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162455 #554716
analogous
#164355 #162455 #271655
triadic
#162455 #551624 #245516
tetradic
#162455 #551643 #554716 #165527
square
#162455 #551643 #554716 #165527
split-complementary
#162455 #552716 #435516
monochromatic
#060A18 #090F24 #162455 #233986 #2F4DB6

Accessibility & contrast

On white

14.81
#162455 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #162455
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162455#FFFFFF#000000##FFFFFF
##1624551.0014.811.4214.81
#FFFFFF14.811.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#042B57
Deuteranopia (green-blind)
#002554
Tritanopia (blue-blind)
#003038
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #162455;
/* rgb */ color: rgb(22, 36, 85);
/* oklch */ color: oklch(28.0% 0.091 268.0);
Tailwind
colors: {
  custom: {
    50: '#5c5e85',
    500: '#162455',
    950: '#000000',
  },
}
SCSS
$custom: #162455;
$custom-light: #5c5e85;
$custom-dark: #000000;
JSON
{
  "hex": "#162455",
  "rgb": {
    "r": 22,
    "g": 36,
    "b": 85
  },
  "hsl": {
    "h": 226.667,
    "s": 58.879,
    "l": 20.98
  },
  "oklch": {
    "l": 0.28017,
    "c": 0.09085,
    "h": 268
  },
  "luminance": 0.02088
}

Semantic roles & 50–950 ramp

primary
#162455
secondary
#8C7A3A
accent
#BF46E2
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #162455

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

Preview Lab → · Contrast checker → · Palette generator →

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