#162E73#162E73

#162E73 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 32.9% C 0.123 H 265.4°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#162E73
RGBrgb(22, 46, 115)
HSLhsl(225, 68%, 27%)
HSVhsv(225, 81%, 45%)
CMYKcmyk(80.9%, 60%, 0%, 54.9%)
CIE-LABlab(21.44, 18.18, -42.37)
CIE-LCHlch(21.44, 46.10, 293.22°)
OKLaboklab(32.94% -0.0097 -0.1223)
OKLCHoklch(32.94% 0.123 265.4)
XYZxyz(4.4013, 3.3619, 16.6333)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162E73 #735B16
analogous
#165D73 #162E73 #2D1673
triadic
#162E73 #73162E #2E7316
tetradic
#162E73 #73165D #735B16 #16732D
square
#162E73 #73165D #735B16 #16732D
split-complementary
#162E73 #732D16 #5D7316
monochromatic
#050A1A #0C1940 #162E73 #2043A6 #2D59D7

Accessibility & contrast

On white

12.56
#162E73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#162E73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162E73
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162E73#FFFFFF#000000##FFFFFF
##162E731.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #162e73;
/* rgb */ color: rgb(22, 46, 115);
/* oklch */ color: oklch(32.9% 0.123 265.4);
Tailwind
colors: {
  custom: {
    50: '#64669c',
    500: '#162e73',
    950: '#000000',
  },
}
SCSS
$custom: #162e73;
$custom-light: #64669c;
$custom-dark: #000000;
JSON
{
  "hex": "#162e73",
  "rgb": {
    "r": 22,
    "g": 46,
    "b": 115
  },
  "hsl": {
    "h": 224.516,
    "s": 67.883,
    "l": 26.863
  },
  "oklch": {
    "l": 0.32944,
    "c": 0.1227,
    "h": 265.4
  },
  "luminance": 0.03362
}

Semantic roles & 50–950 ramp

primary
#162E73
secondary
#A98D3C
accent
#BE3DEB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #162E73

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

Preview Lab → · Contrast checker → · Palette generator →

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