#162490#162490

#162490 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.0% C 0.174 H 268.1°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#162490
RGBrgb(22, 36, 144)
HSLhsl(233, 73%, 33%)
HSVhsv(233, 85%, 56%)
CMYKcmyk(84.7%, 75%, 0%, 43.5%)
CIE-LABlab(21.75, 36.33, -60.15)
CIE-LCHlch(21.75, 70.27, 301.13°)
OKLaboklab(34.04% -0.0058 -0.1743)
OKLCHoklch(34.04% 0.174 268.1)
XYZxyz(5.9941, 3.4452, 26.7292)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162490 #908216
analogous
#166190 #162490 #451690
triadic
#162490 #901624 #249016
tetradic
#162490 #901661 #908216 #169045
square
#162490 #901661 #908216 #169045
split-complementary
#162490 #904516 #619016
monochromatic
#060926 #0E175B #162490 #1E31C5 #3F51E2

Accessibility & contrast

On white

12.43
#162490 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#162490 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162490
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162490#FFFFFF#000000##FFFFFF
##1624901.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #162490;
/* rgb */ color: rgb(22, 36, 144);
/* oklch */ color: oklch(34.0% 0.174 268.1);
Tailwind
colors: {
  custom: {
    50: '#6d5fb2',
    500: '#162490',
    950: '#000000',
  },
}
SCSS
$custom: #162490;
$custom-light: #6d5fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#162490",
  "rgb": {
    "r": 22,
    "g": 36,
    "b": 144
  },
  "hsl": {
    "h": 233.115,
    "s": 73.494,
    "l": 32.549
  },
  "oklch": {
    "l": 0.34038,
    "c": 0.17444,
    "h": 268.1
  },
  "luminance": 0.03446
}

Semantic roles & 50–950 ramp

primary
#162490
secondary
#C2B340
accent
#DB38F0
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#080511
muted
#7B7980

Preview Lab

Preview with #162490

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

Preview Lab → · Contrast checker → · Palette generator →

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