#162390#162390

#162390 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.9% C 0.175 H 268.2°. Best body text is #FFFFFF at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#162390
RGBrgb(22, 35, 144)
HSLhsl(234, 73%, 33%)
HSVhsv(234, 85%, 56%)
CMYKcmyk(84.7%, 75.7%, 0%, 43.5%)
CIE-LABlab(21.53, 36.94, -60.51)
CIE-LCHlch(21.53, 70.90, 301.40°)
OKLaboklab(33.88% -0.0055 -0.1754)
OKLCHoklch(33.88% 0.175 268.2)
XYZxyz(5.9642, 3.3855, 26.7193)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162390 #908316
analogous
#166090 #162390 #461690
triadic
#162390 #901623 #239016
tetradic
#162390 #901660 #908316 #169046
square
#162390 #901660 #908316 #169046
split-complementary
#162390 #904616 #609016
monochromatic
#060926 #0E165B #162390 #1E30C5 #3F50E2

Accessibility & contrast

On white

12.52
#162390 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#162390 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162390
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162390#FFFFFF#000000##FFFFFF
##1623901.0012.521.6812.52
#FFFFFF12.521.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A93
Deuteranopia (green-blind)
#002D8E
Tritanopia (blue-blind)
#004357
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #162390;
/* rgb */ color: rgb(22, 35, 144);
/* oklch */ color: oklch(33.9% 0.175 268.2);
Tailwind
colors: {
  custom: {
    50: '#6d5fb2',
    500: '#162390',
    950: '#000000',
  },
}
SCSS
$custom: #162390;
$custom-light: #6d5fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#162390",
  "rgb": {
    "r": 22,
    "g": 35,
    "b": 144
  },
  "hsl": {
    "h": 233.607,
    "s": 73.494,
    "l": 32.549
  },
  "oklch": {
    "l": 0.33881,
    "c": 0.17547,
    "h": 268.2
  },
  "luminance": 0.03386
}

Semantic roles & 50–950 ramp

primary
#162390
secondary
#C2B440
accent
#DD38F0
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#080411
muted
#7B7980

Preview Lab

Preview with #162390

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

Preview Lab → · Contrast checker → · Palette generator →

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