#162B93#162B93

#162B93 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.5% C 0.171 H 267.1°. Best body text is #FFFFFF at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#162B93
RGBrgb(22, 43, 147)
HSLhsl(230, 74%, 33%)
HSVhsv(230, 85%, 58%)
CMYKcmyk(85%, 70.7%, 0%, 42.4%)
CIE-LABlab(23.68, 32.99, -58.81)
CIE-LCHlch(23.68, 67.43, 299.29°)
OKLaboklab(35.53% -0.0088 -0.1704)
OKLCHoklch(35.53% 0.171 267.1)
XYZxyz(6.4594, 4.0041, 28.0305)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162B93 #937E16
analogous
#166993 #162B93 #3F1693
triadic
#162B93 #93162B #2B9316
tetradic
#162B93 #931669 #937E16 #16933F
square
#162B93 #931669 #937E16 #16933F
split-complementary
#162B93 #933F16 #699316
monochromatic
#060C29 #0E1B5E #162B93 #1E3BC8 #415CE3

Accessibility & contrast

On white

11.66
#162B93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #162B93
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162B93#FFFFFF#000000##FFFFFF
##162B931.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E96
Deuteranopia (green-blind)
#003291
Tritanopia (blue-blind)
#00485B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #162b93;
/* rgb */ color: rgb(22, 43, 147);
/* oklch */ color: oklch(35.5% 0.171 267.1);
Tailwind
colors: {
  custom: {
    50: '#6d64b4',
    500: '#162b93',
    950: '#000000',
  },
}
SCSS
$custom: #162b93;
$custom-light: #6d64b4;
$custom-dark: #000000;
JSON
{
  "hex": "#162b93",
  "rgb": {
    "r": 22,
    "g": 43,
    "b": 147
  },
  "hsl": {
    "h": 229.92,
    "s": 73.964,
    "l": 33.137
  },
  "oklch": {
    "l": 0.35531,
    "c": 0.17066,
    "h": 267.1
  },
  "luminance": 0.04005
}

Semantic roles & 50–950 ramp

primary
#162B93
secondary
#C3AD42
accent
#D137F1
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080511
muted
#7B7A80

Preview Lab

Preview with #162B93

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

Preview Lab → · Contrast checker → · Palette generator →

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