#162D73#162D73

#162D73 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 32.7% C 0.124 H 265.8°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#162D73
RGBrgb(22, 45, 115)
HSLhsl(225, 68%, 27%)
HSVhsv(225, 81%, 45%)
CMYKcmyk(80.9%, 60.9%, 0%, 54.9%)
CIE-LABlab(21.15, 18.89, -42.84)
CIE-LCHlch(21.15, 46.82, 293.80°)
OKLaboklab(32.73% -0.009 -0.1237)
OKLCHoklch(32.73% 0.124 265.8)
XYZxyz(4.3627, 3.2847, 16.6204)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162D73 #735C16
analogous
#165C73 #162D73 #2E1673
triadic
#162D73 #73162D #2D7316
tetradic
#162D73 #73165C #735C16 #16732E
square
#162D73 #73165C #735C16 #16732E
split-complementary
#162D73 #732E16 #5C7316
monochromatic
#050A1A #0C1940 #162D73 #2041A6 #2D57D7

Accessibility & contrast

On white

12.67
#162D73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#162D73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162D73
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162D73#FFFFFF#000000##FFFFFF
##162D731.0012.671.6612.67
#FFFFFF12.671.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003775
Deuteranopia (green-blind)
#002F72
Tritanopia (blue-blind)
#003F4B
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #162d73;
/* rgb */ color: rgb(22, 45, 115);
/* oklch */ color: oklch(32.7% 0.124 265.8);
Tailwind
colors: {
  custom: {
    50: '#64659c',
    500: '#162d73',
    950: '#000000',
  },
}
SCSS
$custom: #162d73;
$custom-light: #64659c;
$custom-dark: #000000;
JSON
{
  "hex": "#162d73",
  "rgb": {
    "r": 22,
    "g": 45,
    "b": 115
  },
  "hsl": {
    "h": 225.161,
    "s": 67.883,
    "l": 26.863
  },
  "oklch": {
    "l": 0.32727,
    "c": 0.12404,
    "h": 265.8
  },
  "luminance": 0.03285
}

Semantic roles & 50–950 ramp

primary
#162D73
secondary
#A98E3C
accent
#C03DEB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #162D73

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

Preview Lab → · Contrast checker → · Palette generator →

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