#162190#162190

#162190 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.6% C 0.177 H 268.4°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#162190
RGBrgb(22, 33, 144)
HSLhsl(235, 73%, 33%)
HSVhsv(235, 85%, 56%)
CMYKcmyk(84.7%, 77.1%, 0%, 43.5%)
CIE-LABlab(21.10, 38.14, -61.22)
CIE-LCHlch(21.10, 72.13, 301.93°)
OKLaboklab(33.58% -0.0049 -0.1774)
OKLCHoklch(33.58% 0.177 268.4)
XYZxyz(5.9070, 3.2712, 26.7002)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162190 #908516
analogous
#165E90 #162190 #481690
triadic
#162190 #901621 #219016
tetradic
#162190 #90165E #908516 #169048
square
#162190 #90165E #908516 #169048
split-complementary
#162190 #904816 #5E9016
monochromatic
#060926 #0E155B #162190 #1E2DC5 #3F4DE2

Accessibility & contrast

On white

12.69
#162190 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#162190 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162190
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162190#FFFFFF#000000##FFFFFF
##1621901.0012.691.6512.69
#FFFFFF12.691.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #162190;
/* rgb */ color: rgb(22, 33, 144);
/* oklch */ color: oklch(33.6% 0.177 268.4);
Tailwind
colors: {
  custom: {
    50: '#6d5db2',
    500: '#162190',
    950: '#000000',
  },
}
SCSS
$custom: #162190;
$custom-light: #6d5db2;
$custom-dark: #000000;
JSON
{
  "hex": "#162190",
  "rgb": {
    "r": 22,
    "g": 33,
    "b": 144
  },
  "hsl": {
    "h": 234.59,
    "s": 73.494,
    "l": 32.549
  },
  "oklch": {
    "l": 0.33577,
    "c": 0.17749,
    "h": 268.4
  },
  "luminance": 0.03272
}

Semantic roles & 50–950 ramp

primary
#162190
secondary
#C2B640
accent
#E038F0
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#080411
muted
#7B7980

Preview Lab

Preview with #162190

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

Preview Lab → · Contrast checker → · Palette generator →

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