#162D93#162D93

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

Color values

HEX#162D93
RGBrgb(22, 45, 147)
HSLhsl(229, 74%, 33%)
HSVhsv(229, 85%, 58%)
CMYKcmyk(85%, 69.4%, 0%, 42.4%)
CIE-LABlab(24.17, 31.67, -58.01)
CIE-LCHlch(24.17, 66.09, 298.64°)
OKLaboklab(35.89% -0.0096 -0.1681)
OKLCHoklch(35.89% 0.168 266.7)
XYZxyz(6.5339, 4.1531, 28.0554)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162D93 #937C16
analogous
#166B93 #162D93 #3D1693
triadic
#162D93 #93162D #2D9316
tetradic
#162D93 #93166B #937C16 #16933D
square
#162D93 #93166B #937C16 #16933D
split-complementary
#162D93 #933D16 #6B9316
monochromatic
#060C29 #0E1D5E #162D93 #1E3DC8 #415FE3

Accessibility & contrast

On white

11.47
#162D93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#162D93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162D93
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162D93#FFFFFF#000000##FFFFFF
##162D931.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004096
Deuteranopia (green-blind)
#003491
Tritanopia (blue-blind)
#00495C
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #162d93;
/* rgb */ color: rgb(22, 45, 147);
/* oklch */ color: oklch(35.9% 0.168 266.7);
Tailwind
colors: {
  custom: {
    50: '#6d66b4',
    500: '#162d93',
    950: '#000000',
  },
}
SCSS
$custom: #162d93;
$custom-light: #6d66b4;
$custom-dark: #000000;
JSON
{
  "hex": "#162d93",
  "rgb": {
    "r": 22,
    "g": 45,
    "b": 147
  },
  "hsl": {
    "h": 228.96,
    "s": 73.964,
    "l": 33.137
  },
  "oklch": {
    "l": 0.35885,
    "c": 0.16837,
    "h": 266.7
  },
  "luminance": 0.04154
}

Semantic roles & 50–950 ramp

primary
#162D93
secondary
#C3AB42
accent
#CE37F1
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #162D93

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

Preview Lab → · Contrast checker → · Palette generator →

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