#162F77#162F77

#162F77 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.5% C 0.127 H 265.4°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#162F77
RGBrgb(22, 47, 119)
HSLhsl(225, 69%, 28%)
HSVhsv(225, 82%, 47%)
CMYKcmyk(81.5%, 60.5%, 0%, 53.3%)
CIE-LABlab(22.07, 19.11, -43.89)
CIE-LCHlch(22.07, 47.87, 293.53°)
OKLaboklab(33.53% -0.0103 -0.1268)
OKLCHoklch(33.53% 0.127 265.4)
XYZxyz(4.6760, 3.5350, 17.8851)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162F77 #775E16
analogous
#165F77 #162F77 #2D1677
triadic
#162F77 #77162F #2F7716
tetradic
#162F77 #77165F #775E16 #16772D
square
#162F77 #77165F #775E16 #16772D
split-complementary
#162F77 #772D16 #5F7716
monochromatic
#050A1A #0C1B43 #162F77 #2043AB #2F5BD9

Accessibility & contrast

On white

12.30
#162F77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#162F77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162F77
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162F77#FFFFFF#000000##FFFFFF
##162F771.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003979
Deuteranopia (green-blind)
#003076
Tritanopia (blue-blind)
#00414E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #162f77;
/* rgb */ color: rgb(22, 47, 119);
/* oklch */ color: oklch(33.5% 0.127 265.4);
Tailwind
colors: {
  custom: {
    50: '#65679f',
    500: '#162f77',
    950: '#000000',
  },
}
SCSS
$custom: #162f77;
$custom-light: #65679f;
$custom-dark: #000000;
JSON
{
  "hex": "#162f77",
  "rgb": {
    "r": 22,
    "g": 47,
    "b": 119
  },
  "hsl": {
    "h": 224.536,
    "s": 68.794,
    "l": 27.647
  },
  "oklch": {
    "l": 0.33525,
    "c": 0.1272,
    "h": 265.4
  },
  "luminance": 0.03536
}

Semantic roles & 50–950 ramp

primary
#162F77
secondary
#AC903C
accent
#BE3CEC
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #162F77

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

Preview Lab → · Contrast checker → · Palette generator →

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