#162249#162249

#162249 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.5% C 0.074 H 268.2°. Best body text is #FFFFFF at 15.45:1 contrast (WCAG AA passes).

Color values

HEX#162249
RGBrgb(22, 34, 73)
HSLhsl(226, 54%, 19%)
HSVhsv(226, 70%, 29%)
CMYKcmyk(69.9%, 53.4%, 0%, 71.4%)
CIE-LABlab(14.38, 9.49, -25.95)
CIE-LCHlch(14.38, 27.63, 290.09°)
OKLaboklab(26.53% -0.0024 -0.0742)
OKLCHoklch(26.53% 0.074 268.2)
XYZxyz(2.1051, 1.7955, 6.5377)
Luminance0.0180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162249 #493D16
analogous
#163B49 #162249 #231649
triadic
#162249 #491622 #224916
tetradic
#162249 #49163B #493D16 #164923
square
#162249 #49163B #493D16 #164923
split-complementary
#162249 #492316 #3B4916
monochromatic
#070B18 #080C1A #162249 #243878 #324EA7

Accessibility & contrast

On white

15.45
#162249 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#162249 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162249
15.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162249#FFFFFF#000000##FFFFFF
##1622491.0015.451.3615.45
#FFFFFF15.451.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E274A
Deuteranopia (green-blind)
#052248
Tritanopia (blue-blind)
#002B32
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #162249;
/* rgb */ color: rgb(22, 34, 73);
/* oklch */ color: oklch(26.5% 0.074 268.2);
Tailwind
colors: {
  custom: {
    50: '#595c7c',
    500: '#162249',
    950: '#000000',
  },
}
SCSS
$custom: #162249;
$custom-light: #595c7c;
$custom-dark: #000000;
JSON
{
  "hex": "#162249",
  "rgb": {
    "r": 22,
    "g": 34,
    "b": 73
  },
  "hsl": {
    "h": 225.882,
    "s": 53.684,
    "l": 18.627
  },
  "oklch": {
    "l": 0.26529,
    "c": 0.07427,
    "h": 268.2
  },
  "luminance": 0.01796
}

Semantic roles & 50–950 ramp

primary
#162249
secondary
#80703A
accent
#BB4BDD
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040409
muted
#79797B

Preview Lab

Preview with #162249

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

Preview Lab → · Contrast checker → · Palette generator →

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