#162D67#162D67

#162D67 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.7% C 0.106 H 264.7°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#162D67
RGBrgb(22, 45, 103)
HSLhsl(223, 65%, 25%)
HSVhsv(223, 79%, 40%)
CMYKcmyk(78.6%, 56.3%, 0%, 59.6%)
CIE-LABlab(20.15, 13.90, -36.70)
CIE-LCHlch(20.15, 39.25, 290.74°)
OKLaboklab(31.66% -0.0098 -0.1057)
OKLCHoklch(31.66% 0.106 264.7)
XYZxyz(3.7166, 3.0262, 13.2176)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162D67 #675016
analogous
#165667 #162D67 #281667
triadic
#162D67 #67162D #2D6716
tetradic
#162D67 #671656 #675016 #166728
square
#162D67 #671656 #675016 #166728
split-complementary
#162D67 #672816 #566716
monochromatic
#050B19 #0B1735 #162D67 #214399 #2C59CC

Accessibility & contrast

On white

13.08
#162D67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#162D67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162D67
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162D67#FFFFFF#000000##FFFFFF
##162D671.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033569
Deuteranopia (green-blind)
#002D66
Tritanopia (blue-blind)
#003B45
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #162d67;
/* rgb */ color: rgb(22, 45, 103);
/* oklch */ color: oklch(31.7% 0.106 264.7);
Tailwind
colors: {
  custom: {
    50: '#606593',
    500: '#162d67',
    950: '#000000',
  },
}
SCSS
$custom: #162d67;
$custom-light: #606593;
$custom-dark: #000000;
JSON
{
  "hex": "#162d67",
  "rgb": {
    "r": 22,
    "g": 45,
    "b": 103
  },
  "hsl": {
    "h": 222.963,
    "s": 64.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.31658,
    "c": 0.10614,
    "h": 264.7
  },
  "luminance": 0.03027
}

Semantic roles & 50–950 ramp

primary
#162D67
secondary
#9E823B
accent
#B840E8
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#05050D
muted
#7A7A7E

Preview Lab

Preview with #162D67

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

Preview Lab → · Contrast checker → · Palette generator →

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