#162D66#162D66

#162D66 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.6% C 0.105 H 264.5°. Best body text is #FFFFFF at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#162D66
RGBrgb(22, 45, 102)
HSLhsl(223, 65%, 24%)
HSVhsv(223, 78%, 40%)
CMYKcmyk(78.4%, 55.9%, 0%, 60%)
CIE-LABlab(20.07, 13.48, -36.18)
CIE-LCHlch(20.07, 38.61, 290.43°)
OKLaboklab(31.57% -0.0099 -0.1041)
OKLCHoklch(31.57% 0.105 264.5)
XYZxyz(3.6667, 3.0063, 12.9548)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162D66 #664F16
analogous
#165566 #162D66 #271666
triadic
#162D66 #66162D #2D6616
tetradic
#162D66 #661655 #664F16 #166627
square
#162D66 #661655 #664F16 #166627
split-complementary
#162D66 #662716 #556616
monochromatic
#050B19 #0B1734 #162D66 #214398 #2C59CB

Accessibility & contrast

On white

13.11
#162D66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#162D66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162D66
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162D66#FFFFFF#000000##FFFFFF
##162D661.0013.111.6013.11
#FFFFFF13.111.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053468
Deuteranopia (green-blind)
#002D65
Tritanopia (blue-blind)
#003B44
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #162d66;
/* rgb */ color: rgb(22, 45, 102);
/* oklch */ color: oklch(31.6% 0.105 264.5);
Tailwind
colors: {
  custom: {
    50: '#606592',
    500: '#162d66',
    950: '#000000',
  },
}
SCSS
$custom: #162d66;
$custom-light: #606592;
$custom-dark: #000000;
JSON
{
  "hex": "#162d66",
  "rgb": {
    "r": 22,
    "g": 45,
    "b": 102
  },
  "hsl": {
    "h": 222.75,
    "s": 64.516,
    "l": 24.314
  },
  "oklch": {
    "l": 0.31573,
    "c": 0.10461,
    "h": 264.5
  },
  "luminance": 0.03007
}

Semantic roles & 50–950 ramp

primary
#162D66
secondary
#9D813B
accent
#B740E8
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#05050D
muted
#7A7A7E

Preview Lab

Preview with #162D66

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

Preview Lab → · Contrast checker → · Palette generator →

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