#162177#162177

#162177 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.8% C 0.145 H 269.4°. Best body text is #FFFFFF at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#162177
RGBrgb(22, 33, 119)
HSLhsl(233, 69%, 28%)
HSVhsv(233, 82%, 47%)
CMYKcmyk(81.5%, 72.3%, 0%, 53.3%)
CIE-LABlab(18.32, 28.89, -50.04)
CIE-LCHlch(18.32, 57.78, 300.00°)
OKLaboklab(30.76% -0.0016 -0.1449)
OKLCHoklch(30.76% 0.145 269.4)
XYZxyz(4.2034, 2.5897, 17.7275)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162177 #776C16
analogous
#165177 #162177 #3C1677
triadic
#162177 #771621 #217716
tetradic
#162177 #771651 #776C16 #16773C
square
#162177 #771651 #776C16 #16773C
split-complementary
#162177 #773C16 #517716
monochromatic
#05071A #0C1343 #162177 #202FAB #2F42D9

Accessibility & contrast

On white

13.83
#162177 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#162177 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162177
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162177#FFFFFF#000000##FFFFFF
##1621771.0013.831.5213.83
#FFFFFF13.831.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317A
Deuteranopia (green-blind)
#002875
Tritanopia (blue-blind)
#003949
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #162177;
/* rgb */ color: rgb(22, 33, 119);
/* oklch */ color: oklch(30.8% 0.145 269.4);
Tailwind
colors: {
  custom: {
    50: '#665c9f',
    500: '#162177',
    950: '#000000',
  },
}
SCSS
$custom: #162177;
$custom-light: #665c9f;
$custom-dark: #000000;
JSON
{
  "hex": "#162177",
  "rgb": {
    "r": 22,
    "g": 33,
    "b": 119
  },
  "hsl": {
    "h": 233.196,
    "s": 68.794,
    "l": 27.647
  },
  "oklch": {
    "l": 0.30761,
    "c": 0.14491,
    "h": 269.4
  },
  "luminance": 0.0259
}

Semantic roles & 50–950 ramp

primary
#162177
secondary
#ACA03C
accent
#D83CEC
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040F
muted
#7A797E

Preview Lab

Preview with #162177

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

Preview Lab → · Contrast checker → · Palette generator →

#162177 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva