#162B7B#162B7B

#162B7B is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.1% C 0.138 H 266.9°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#162B7B
RGBrgb(22, 43, 123)
HSLhsl(228, 70%, 28%)
HSVhsv(228, 82%, 48%)
CMYKcmyk(82.1%, 65%, 0%, 51.8%)
CIE-LABlab(21.31, 23.59, -47.68)
CIE-LCHlch(21.31, 53.19, 296.32°)
OKLaboklab(33.07% -0.0075 -0.1379)
OKLCHoklch(33.07% 0.138 266.9)
XYZxyz(4.7687, 3.3278, 19.1261)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162B7B #7B6616
analogous
#165D7B #162B7B #33167B
triadic
#162B7B #7B162B #2B7B16
tetradic
#162B7B #7B165D #7B6616 #167B33
square
#162B7B #7B165D #7B6616 #167B33
split-complementary
#162B7B #7B3316 #5D7B16
monochromatic
#05091A #0D1947 #162B7B #1F3DAF #3154DA

Accessibility & contrast

On white

12.61
#162B7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#162B7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162B7B
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162B7B#FFFFFF#000000##FFFFFF
##162B7B1.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387E
Deuteranopia (green-blind)
#002F79
Tritanopia (blue-blind)
#00404E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #162b7b;
/* rgb */ color: rgb(22, 43, 123);
/* oklch */ color: oklch(33.1% 0.138 266.9);
Tailwind
colors: {
  custom: {
    50: '#6664a2',
    500: '#162b7b',
    950: '#000000',
  },
}
SCSS
$custom: #162b7b;
$custom-light: #6664a2;
$custom-dark: #000000;
JSON
{
  "hex": "#162b7b",
  "rgb": {
    "r": 22,
    "g": 43,
    "b": 123
  },
  "hsl": {
    "h": 227.525,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.33072,
    "c": 0.13815,
    "h": 266.9
  },
  "luminance": 0.03328
}

Semantic roles & 50–950 ramp

primary
#162B7B
secondary
#B0983D
accent
#C83BEC
background
#F6F5FA
surface
#EBEAF4
border
#C6C6CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #162B7B

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

Preview Lab → · Contrast checker → · Palette generator →

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