#162090#162090

#162090 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.4% C 0.178 H 268.5°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#162090
RGBrgb(22, 32, 144)
HSLhsl(235, 73%, 33%)
HSVhsv(235, 85%, 56%)
CMYKcmyk(84.7%, 77.8%, 0%, 43.5%)
CIE-LABlab(20.89, 38.73, -61.56)
CIE-LCHlch(20.89, 72.74, 302.18°)
OKLaboklab(33.43% -0.0046 -0.1784)
OKLCHoklch(33.43% 0.178 268.5)
XYZxyz(5.8797, 3.2165, 26.6911)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162090 #908616
analogous
#165D90 #162090 #491690
triadic
#162090 #901620 #209016
tetradic
#162090 #90165D #908616 #169049
square
#162090 #90165D #908616 #169049
split-complementary
#162090 #904916 #5D9016
monochromatic
#060826 #0E145B #162090 #1E2CC5 #3F4CE2

Accessibility & contrast

On white

12.78
#162090 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#162090 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162090
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162090#FFFFFF#000000##FFFFFF
##1620901.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003893
Deuteranopia (green-blind)
#002C8E
Tritanopia (blue-blind)
#004257
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #162090;
/* rgb */ color: rgb(22, 32, 144);
/* oklch */ color: oklch(33.4% 0.178 268.5);
Tailwind
colors: {
  custom: {
    50: '#6d5db2',
    500: '#162090',
    950: '#000000',
  },
}
SCSS
$custom: #162090;
$custom-light: #6d5db2;
$custom-dark: #000000;
JSON
{
  "hex": "#162090",
  "rgb": {
    "r": 22,
    "g": 32,
    "b": 144
  },
  "hsl": {
    "h": 235.082,
    "s": 73.494,
    "l": 32.549
  },
  "oklch": {
    "l": 0.33429,
    "c": 0.17847,
    "h": 268.5
  },
  "luminance": 0.03217
}

Semantic roles & 50–950 ramp

primary
#162090
secondary
#C2B740
accent
#E138F0
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #162090

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

Preview Lab → · Contrast checker → · Palette generator →

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