#162F90#162F90

#162F90 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.9% C 0.162 H 266.3°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#162F90
RGBrgb(22, 47, 144)
HSLhsl(228, 73%, 33%)
HSVhsv(228, 85%, 56%)
CMYKcmyk(84.7%, 67.4%, 0%, 43.5%)
CIE-LABlab(24.37, 29.17, -55.82)
CIE-LCHlch(24.37, 62.98, 297.59°)
OKLaboklab(35.94% -0.0103 -0.1617)
OKLCHoklch(35.94% 0.162 266.3)
XYZxyz(6.3797, 4.2164, 26.8578)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162F90 #907716
analogous
#166C90 #162F90 #3A1690
triadic
#162F90 #90162F #2F9016
tetradic
#162F90 #90166C #907716 #16903A
square
#162F90 #90166C #907716 #16903A
split-complementary
#162F90 #903A16 #6C9016
monochromatic
#060C26 #0E1E5B #162F90 #1E40C5 #3F60E2

Accessibility & contrast

On white

11.39
#162F90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#162F90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162F90
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162F90#FFFFFF#000000##FFFFFF
##162F901.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004093
Deuteranopia (green-blind)
#00348E
Tritanopia (blue-blind)
#00495B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #162f90;
/* rgb */ color: rgb(22, 47, 144);
/* oklch */ color: oklch(35.9% 0.162 266.3);
Tailwind
colors: {
  custom: {
    50: '#6c67b1',
    500: '#162f90',
    950: '#000000',
  },
}
SCSS
$custom: #162f90;
$custom-light: #6c67b1;
$custom-dark: #000000;
JSON
{
  "hex": "#162f90",
  "rgb": {
    "r": 22,
    "g": 47,
    "b": 144
  },
  "hsl": {
    "h": 227.705,
    "s": 73.494,
    "l": 32.549
  },
  "oklch": {
    "l": 0.35943,
    "c": 0.16204,
    "h": 266.3
  },
  "luminance": 0.04217
}

Semantic roles & 50–950 ramp

primary
#162F90
secondary
#C2A740
accent
#CA38F0
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #162F90

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

Preview Lab → · Contrast checker → · Palette generator →

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