#162C90#162C90

#162C90 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.4% C 0.166 H 266.9°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#162C90
RGBrgb(22, 44, 144)
HSLhsl(229, 73%, 33%)
HSVhsv(229, 85%, 56%)
CMYKcmyk(84.7%, 69.4%, 0%, 43.5%)
CIE-LABlab(23.62, 31.18, -57.06)
CIE-LCHlch(23.62, 65.02, 298.66°)
OKLaboklab(35.39% -0.009 -0.1653)
OKLCHoklch(35.39% 0.166 266.9)
XYZxyz(6.2638, 3.9848, 26.8192)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162C90 #907A16
analogous
#166990 #162C90 #3D1690
triadic
#162C90 #90162C #2C9016
tetradic
#162C90 #901669 #907A16 #16903D
square
#162C90 #901669 #907A16 #16903D
split-complementary
#162C90 #903D16 #699016
monochromatic
#060C26 #0E1C5B #162C90 #1E3CC5 #3F5CE2

Accessibility & contrast

On white

11.68
#162C90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#162C90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162C90
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162C90#FFFFFF#000000##FFFFFF
##162C901.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E93
Deuteranopia (green-blind)
#00328E
Tritanopia (blue-blind)
#00485A
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #162c90;
/* rgb */ color: rgb(22, 44, 144);
/* oklch */ color: oklch(35.4% 0.166 266.9);
Tailwind
colors: {
  custom: {
    50: '#6c65b2',
    500: '#162c90',
    950: '#000000',
  },
}
SCSS
$custom: #162c90;
$custom-light: #6c65b2;
$custom-dark: #000000;
JSON
{
  "hex": "#162c90",
  "rgb": {
    "r": 22,
    "g": 44,
    "b": 144
  },
  "hsl": {
    "h": 229.18,
    "s": 73.494,
    "l": 32.549
  },
  "oklch": {
    "l": 0.35392,
    "c": 0.16558,
    "h": 266.9
  },
  "luminance": 0.03986
}

Semantic roles & 50–950 ramp

primary
#162C90
secondary
#C2AA40
accent
#CF38F0
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080511
muted
#7B7A80

Preview Lab

Preview with #162C90

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

Preview Lab → · Contrast checker → · Palette generator →

#162C90 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva