#162973#162973

#162973 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 31.9% C 0.129 H 267.3°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#162973
RGBrgb(22, 41, 115)
HSLhsl(228, 68%, 27%)
HSVhsv(228, 81%, 45%)
CMYKcmyk(80.9%, 64.3%, 0%, 54.9%)
CIE-LABlab(20.02, 21.76, -44.68)
CIE-LCHlch(20.02, 49.70, 295.96°)
OKLaboklab(31.89% -0.0062 -0.1292)
OKLCHoklch(31.89% 0.129 267.3)
XYZxyz(4.2172, 2.9938, 16.5719)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162973 #736016
analogous
#165873 #162973 #321673
triadic
#162973 #731629 #297316
tetradic
#162973 #731658 #736016 #167332
square
#162973 #731658 #736016 #167332
split-complementary
#162973 #733216 #587316
monochromatic
#05091A #0C1740 #162973 #203BA6 #2D4FD7

Accessibility & contrast

On white

13.13
#162973 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#162973 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162973
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162973#FFFFFF#000000##FFFFFF
##1629731.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003575
Deuteranopia (green-blind)
#002C72
Tritanopia (blue-blind)
#003C49
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #162973;
/* rgb */ color: rgb(22, 41, 115);
/* oklch */ color: oklch(31.9% 0.129 267.3);
Tailwind
colors: {
  custom: {
    50: '#64629c',
    500: '#162973',
    950: '#000000',
  },
}
SCSS
$custom: #162973;
$custom-light: #64629c;
$custom-dark: #000000;
JSON
{
  "hex": "#162973",
  "rgb": {
    "r": 22,
    "g": 41,
    "b": 115
  },
  "hsl": {
    "h": 227.742,
    "s": 67.883,
    "l": 26.863
  },
  "oklch": {
    "l": 0.31885,
    "c": 0.12933,
    "h": 267.3
  },
  "luminance": 0.02994
}

Semantic roles & 50–950 ramp

primary
#162973
secondary
#A9933C
accent
#C73DEB
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #162973

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

Preview Lab → · Contrast checker → · Palette generator →

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