#162990#162990

#162990 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.9% C 0.169 H 267.4°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#162990
RGBrgb(22, 41, 144)
HSLhsl(231, 73%, 33%)
HSVhsv(231, 85%, 56%)
CMYKcmyk(84.7%, 71.5%, 0%, 43.5%)
CIE-LABlab(22.89, 33.15, -58.26)
CIE-LCHlch(22.89, 67.03, 299.64°)
OKLaboklab(34.86% -0.0077 -0.1688)
OKLCHoklch(34.86% 0.169 267.4)
XYZxyz(6.1561, 3.7693, 26.7832)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162990 #907D16
analogous
#166690 #162990 #401690
triadic
#162990 #901629 #299016
tetradic
#162990 #901666 #907D16 #169040
square
#162990 #901666 #907D16 #169040
split-complementary
#162990 #904016 #669016
monochromatic
#060B26 #0E1A5B #162990 #1E38C5 #3F58E2

Accessibility & contrast

On white

11.97
#162990 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#162990 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162990
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162990#FFFFFF#000000##FFFFFF
##1629901.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D93
Deuteranopia (green-blind)
#00318E
Tritanopia (blue-blind)
#004659
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #162990;
/* rgb */ color: rgb(22, 41, 144);
/* oklch */ color: oklch(34.9% 0.169 267.4);
Tailwind
colors: {
  custom: {
    50: '#6c63b2',
    500: '#162990',
    950: '#000000',
  },
}
SCSS
$custom: #162990;
$custom-light: #6c63b2;
$custom-dark: #000000;
JSON
{
  "hex": "#162990",
  "rgb": {
    "r": 22,
    "g": 41,
    "b": 144
  },
  "hsl": {
    "h": 230.656,
    "s": 73.494,
    "l": 32.549
  },
  "oklch": {
    "l": 0.34864,
    "c": 0.16902,
    "h": 267.4
  },
  "luminance": 0.0377
}

Semantic roles & 50–950 ramp

primary
#162990
secondary
#C2AE40
accent
#D338F0
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#080511
muted
#7B7980

Preview Lab

Preview with #162990

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

Preview Lab → · Contrast checker → · Palette generator →

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