#162290#162290

#162290 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.7% C 0.176 H 268.3°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#162290
RGBrgb(22, 34, 144)
HSLhsl(234, 73%, 33%)
HSVhsv(234, 85%, 56%)
CMYKcmyk(84.7%, 76.4%, 0%, 43.5%)
CIE-LABlab(21.31, 37.55, -60.87)
CIE-LCHlch(21.31, 71.52, 301.67°)
OKLaboklab(33.73% -0.0052 -0.1764)
OKLCHoklch(33.73% 0.176 268.3)
XYZxyz(5.9352, 3.3275, 26.7096)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162290 #908416
analogous
#165F90 #162290 #471690
triadic
#162290 #901622 #229016
tetradic
#162290 #90165F #908416 #169047
square
#162290 #90165F #908416 #169047
split-complementary
#162290 #904716 #5F9016
monochromatic
#060926 #0E155B #162290 #1E2FC5 #3F4FE2

Accessibility & contrast

On white

12.61
#162290 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#162290 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162290
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162290#FFFFFF#000000##FFFFFF
##1622901.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #162290;
/* rgb */ color: rgb(22, 34, 144);
/* oklch */ color: oklch(33.7% 0.176 268.3);
Tailwind
colors: {
  custom: {
    50: '#6d5eb2',
    500: '#162290',
    950: '#000000',
  },
}
SCSS
$custom: #162290;
$custom-light: #6d5eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#162290",
  "rgb": {
    "r": 22,
    "g": 34,
    "b": 144
  },
  "hsl": {
    "h": 234.098,
    "s": 73.494,
    "l": 32.549
  },
  "oklch": {
    "l": 0.33727,
    "c": 0.17649,
    "h": 268.3
  },
  "luminance": 0.03328
}

Semantic roles & 50–950 ramp

primary
#162290
secondary
#C2B540
accent
#DE38F0
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#080411
muted
#7B7980

Preview Lab

Preview with #162290

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

Preview Lab → · Contrast checker → · Palette generator →

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