#162541#162541

#162541 is a dark, muted blue. Relative luminance 0.019; OKLCH L 26.7% C 0.056 H 261.9°. Best body text is #FFFFFF at 15.27:1 contrast (WCAG AA passes).

Color values

HEX#162541
RGBrgb(22, 37, 65)
HSLhsl(219, 49%, 17%)
HSVhsv(219, 66%, 25%)
CMYKcmyk(66.2%, 43.1%, 0%, 74.5%)
CIE-LABlab(14.82, 3.95, -19.70)
CIE-LCHlch(14.82, 20.10, 281.34°)
OKLaboklab(26.69% -0.0079 -0.0559)
OKLCHoklch(26.69% 0.056 261.9)
XYZxyz(1.9462, 1.8752, 5.2594)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162541 #413216
analogous
#163B41 #162541 #1D1641
triadic
#162541 #411625 #254116
tetradic
#162541 #41163B #413216 #16411D
square
#162541 #41163B #413216 #16411D
split-complementary
#162541 #411D16 #3B4116
monochromatic
#080D17 #080D17 #162541 #253F6F #35599C

Accessibility & contrast

On white

15.27
#162541 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #162541
15.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162541#FFFFFF#000000##FFFFFF
##1625411.0015.271.3815.27
#FFFFFF15.271.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192742
Deuteranopia (green-blind)
#142340
Tritanopia (blue-blind)
#002B2F
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #162541;
/* rgb */ color: rgb(22, 37, 65);
/* oklch */ color: oklch(26.7% 0.056 261.9);
Tailwind
colors: {
  custom: {
    50: '#585f76',
    500: '#162541',
    950: '#000000',
  },
}
SCSS
$custom: #162541;
$custom-light: #585f76;
$custom-dark: #000000;
JSON
{
  "hex": "#162541",
  "rgb": {
    "r": 22,
    "g": 37,
    "b": 65
  },
  "hsl": {
    "h": 219.07,
    "s": 49.425,
    "l": 17.059
  },
  "oklch": {
    "l": 0.26691,
    "c": 0.05642,
    "h": 261.9
  },
  "luminance": 0.01875
}

Semantic roles & 50–950 ramp

primary
#162541
secondary
#78633A
accent
#A94FD9
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030408
muted
#78797B

Preview Lab

Preview with #162541

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

Preview Lab → · Contrast checker → · Palette generator →

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