#162E77#162E77

#162E77 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.3% C 0.129 H 265.7°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#162E77
RGBrgb(22, 46, 119)
HSLhsl(225, 69%, 28%)
HSVhsv(225, 82%, 47%)
CMYKcmyk(81.5%, 61.3%, 0%, 53.3%)
CIE-LABlab(21.78, 19.83, -44.36)
CIE-LCHlch(21.78, 48.59, 294.08°)
OKLaboklab(33.31% -0.0096 -0.1282)
OKLCHoklch(33.31% 0.129 265.7)
XYZxyz(4.6365, 3.4559, 17.8719)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162E77 #775F16
analogous
#165E77 #162E77 #2F1677
triadic
#162E77 #77162E #2E7716
tetradic
#162E77 #77165E #775F16 #16772F
square
#162E77 #77165E #775F16 #16772F
split-complementary
#162E77 #772F16 #5E7716
monochromatic
#050A1A #0C1A43 #162E77 #2042AB #2F59D9

Accessibility & contrast

On white

12.42
#162E77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#162E77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162E77
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162E77#FFFFFF#000000##FFFFFF
##162E771.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003979
Deuteranopia (green-blind)
#003076
Tritanopia (blue-blind)
#00404D
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #162e77;
/* rgb */ color: rgb(22, 46, 119);
/* oklch */ color: oklch(33.3% 0.129 265.7);
Tailwind
colors: {
  custom: {
    50: '#65669f',
    500: '#162e77',
    950: '#000000',
  },
}
SCSS
$custom: #162e77;
$custom-light: #65669f;
$custom-dark: #000000;
JSON
{
  "hex": "#162e77",
  "rgb": {
    "r": 22,
    "g": 46,
    "b": 119
  },
  "hsl": {
    "h": 225.155,
    "s": 68.794,
    "l": 27.647
  },
  "oklch": {
    "l": 0.33311,
    "c": 0.12853,
    "h": 265.7
  },
  "luminance": 0.03456
}

Semantic roles & 50–950 ramp

primary
#162E77
secondary
#AC913C
accent
#C03CEC
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #162E77

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

Preview Lab → · Contrast checker → · Palette generator →

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