#162199#162199

#162199 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.6% C 0.189 H 268.1°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#162199
RGBrgb(22, 33, 153)
HSLhsl(235, 75%, 34%)
HSVhsv(235, 86%, 60%)
CMYKcmyk(85.6%, 78.4%, 0%, 40%)
CIE-LABlab(22.15, 41.30, -65.04)
CIE-LCHlch(22.15, 77.05, 302.42°)
OKLaboklab(34.63% -0.0063 -0.1885)
OKLCHoklch(34.63% 0.189 268.1)
XYZxyz(6.6225, 3.5574, 30.4684)
Luminance0.0356 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162199 #998E16
analogous
#166399 #162199 #4D1699
triadic
#162199 #991621 #219916
tetradic
#162199 #991663 #998E16 #16994D
square
#162199 #991663 #998E16 #16994D
split-complementary
#162199 #994D16 #639916
monochromatic
#070A2E #0E1563 #162199 #1E2DCF #4552E4

Accessibility & contrast

On white

12.27
#162199 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#162199 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162199
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162199#FFFFFF#000000##FFFFFF
##1621991.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C9C
Deuteranopia (green-blind)
#002E97
Tritanopia (blue-blind)
#00465C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #162199;
/* rgb */ color: rgb(22, 33, 153);
/* oklch */ color: oklch(34.6% 0.189 268.1);
Tailwind
colors: {
  custom: {
    50: '#705eb8',
    500: '#162199',
    950: '#000000',
  },
}
SCSS
$custom: #162199;
$custom-light: #705eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#162199",
  "rgb": {
    "r": 22,
    "g": 33,
    "b": 153
  },
  "hsl": {
    "h": 234.962,
    "s": 74.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.34629,
    "c": 0.18859,
    "h": 268.1
  },
  "luminance": 0.03558
}

Semantic roles & 50–950 ramp

primary
#162199
secondary
#C5BA46
accent
#E236F1
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090412
muted
#7B7981

Preview Lab

Preview with #162199

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

Preview Lab → · Contrast checker → · Palette generator →

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