#162B90#162B90

#162B90 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.2% C 0.167 H 267.1°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#162B90
RGBrgb(22, 43, 144)
HSLhsl(230, 73%, 33%)
HSVhsv(230, 85%, 56%)
CMYKcmyk(84.7%, 70.1%, 0%, 43.5%)
CIE-LABlab(23.38, 31.84, -57.46)
CIE-LCHlch(23.38, 65.69, 298.99°)
OKLaboklab(35.21% -0.0085 -0.1665)
OKLCHoklch(35.21% 0.167 267.1)
XYZxyz(6.2270, 3.9112, 26.8069)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162B90 #907B16
analogous
#166890 #162B90 #3E1690
triadic
#162B90 #90162B #2B9016
tetradic
#162B90 #901668 #907B16 #16903E
square
#162B90 #901668 #907B16 #16903E
split-complementary
#162B90 #903E16 #689016
monochromatic
#060B26 #0E1B5B #162B90 #1E3BC5 #3F5BE2

Accessibility & contrast

On white

11.78
#162B90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#162B90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162B90
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162B90#FFFFFF#000000##FFFFFF
##162B901.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #162b90;
/* rgb */ color: rgb(22, 43, 144);
/* oklch */ color: oklch(35.2% 0.167 267.1);
Tailwind
colors: {
  custom: {
    50: '#6c64b2',
    500: '#162b90',
    950: '#000000',
  },
}
SCSS
$custom: #162b90;
$custom-light: #6c64b2;
$custom-dark: #000000;
JSON
{
  "hex": "#162b90",
  "rgb": {
    "r": 22,
    "g": 43,
    "b": 144
  },
  "hsl": {
    "h": 229.672,
    "s": 73.494,
    "l": 32.549
  },
  "oklch": {
    "l": 0.35214,
    "c": 0.16674,
    "h": 267.1
  },
  "luminance": 0.03912
}

Semantic roles & 50–950 ramp

primary
#162B90
secondary
#C2AB40
accent
#D038F0
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080511
muted
#7B7A80

Preview Lab

Preview with #162B90

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

Preview Lab → · Contrast checker → · Palette generator →

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