#162099#162099

#162099 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.5% C 0.190 H 268.2°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#162099
RGBrgb(22, 32, 153)
HSLhsl(235, 75%, 34%)
HSVhsv(235, 86%, 60%)
CMYKcmyk(85.6%, 79.1%, 0%, 40%)
CIE-LABlab(21.95, 41.87, -65.36)
CIE-LCHlch(21.95, 77.62, 302.64°)
OKLaboklab(34.49% -0.006 -0.1894)
OKLCHoklch(34.49% 0.19 268.2)
XYZxyz(6.5952, 3.5027, 30.4593)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162099 #998F16
analogous
#166299 #162099 #4E1699
triadic
#162099 #991620 #209916
tetradic
#162099 #991662 #998F16 #16994E
square
#162099 #991662 #998F16 #16994E
split-complementary
#162099 #994E16 #629916
monochromatic
#070A2E #0E1563 #162099 #1E2BCF #4551E4

Accessibility & contrast

On white

12.35
#162099 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#162099 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162099
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162099#FFFFFF#000000##FFFFFF
##1620991.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #162099;
/* rgb */ color: rgb(22, 32, 153);
/* oklch */ color: oklch(34.5% 0.190 268.2);
Tailwind
colors: {
  custom: {
    50: '#705db8',
    500: '#162099',
    950: '#000000',
  },
}
SCSS
$custom: #162099;
$custom-light: #705db8;
$custom-dark: #000000;
JSON
{
  "hex": "#162099",
  "rgb": {
    "r": 22,
    "g": 32,
    "b": 153
  },
  "hsl": {
    "h": 235.42,
    "s": 74.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.3449,
    "c": 0.18952,
    "h": 268.2
  },
  "luminance": 0.03504
}

Semantic roles & 50–950 ramp

primary
#162099
secondary
#C5BB46
accent
#E336F1
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090412
muted
#7B7981

Preview Lab

Preview with #162099

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

Preview Lab → · Contrast checker → · Palette generator →

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