#162677#162677

#162677 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.7% C 0.139 H 268.2°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#162677
RGBrgb(22, 38, 119)
HSLhsl(230, 69%, 28%)
HSVhsv(230, 82%, 47%)
CMYKcmyk(81.5%, 68.1%, 0%, 53.3%)
CIE-LABlab(19.59, 25.48, -47.95)
CIE-LCHlch(19.59, 54.30, 297.98°)
OKLaboklab(31.69% -0.0044 -0.1388)
OKLCHoklch(31.69% 0.139 268.2)
XYZxyz(4.3526, 2.8882, 17.7773)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162677 #776716
analogous
#165677 #162677 #361677
triadic
#162677 #771626 #267716
tetradic
#162677 #771656 #776716 #167736
square
#162677 #771656 #776716 #167736
split-complementary
#162677 #773616 #567716
monochromatic
#05081A #0C1643 #162677 #2036AB #2F4BD9

Accessibility & contrast

On white

13.31
#162677 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#162677 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162677
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162677#FFFFFF#000000##FFFFFF
##1626771.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347A
Deuteranopia (green-blind)
#002B75
Tritanopia (blue-blind)
#003C4B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #162677;
/* rgb */ color: rgb(22, 38, 119);
/* oklch */ color: oklch(31.7% 0.139 268.2);
Tailwind
colors: {
  custom: {
    50: '#65609f',
    500: '#162677',
    950: '#000000',
  },
}
SCSS
$custom: #162677;
$custom-light: #65609f;
$custom-dark: #000000;
JSON
{
  "hex": "#162677",
  "rgb": {
    "r": 22,
    "g": 38,
    "b": 119
  },
  "hsl": {
    "h": 230.103,
    "s": 68.794,
    "l": 27.647
  },
  "oklch": {
    "l": 0.31686,
    "c": 0.13885,
    "h": 268.2
  },
  "luminance": 0.02889
}

Semantic roles & 50–950 ramp

primary
#162677
secondary
#AC9A3C
accent
#CF3CEC
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040F
muted
#7A797E

Preview Lab

Preview with #162677

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

Preview Lab → · Contrast checker → · Palette generator →

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