#162C68#162C68

#162C68 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.5% C 0.109 H 265.3°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#162C68
RGBrgb(22, 44, 104)
HSLhsl(224, 65%, 25%)
HSVhsv(224, 79%, 41%)
CMYKcmyk(78.8%, 57.7%, 0%, 59.2%)
CIE-LABlab(19.93, 15.04, -37.71)
CIE-LCHlch(19.93, 40.60, 291.75°)
OKLaboklab(31.52% -0.0089 -0.1087)
OKLCHoklch(31.52% 0.109 265.3)
XYZxyz(3.7294, 2.9710, 13.4709)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162C68 #685216
analogous
#165568 #162C68 #291668
triadic
#162C68 #68162C #2C6816
tetradic
#162C68 #681655 #685216 #166829
square
#162C68 #681655 #685216 #166829
split-complementary
#162C68 #682916 #556816
monochromatic
#050B19 #0B1735 #162C68 #21419B #2B57CD

Accessibility & contrast

On white

13.17
#162C68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#162C68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162C68
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162C68#FFFFFF#000000##FFFFFF
##162C681.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346A
Deuteranopia (green-blind)
#002D67
Tritanopia (blue-blind)
#003B45
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #162c68;
/* rgb */ color: rgb(22, 44, 104);
/* oklch */ color: oklch(31.5% 0.109 265.3);
Tailwind
colors: {
  custom: {
    50: '#616494',
    500: '#162c68',
    950: '#000000',
  },
}
SCSS
$custom: #162c68;
$custom-light: #616494;
$custom-dark: #000000;
JSON
{
  "hex": "#162c68",
  "rgb": {
    "r": 22,
    "g": 44,
    "b": 104
  },
  "hsl": {
    "h": 223.902,
    "s": 65.079,
    "l": 24.706
  },
  "oklch": {
    "l": 0.31517,
    "c": 0.10903,
    "h": 265.3
  },
  "luminance": 0.02971
}

Semantic roles & 50–950 ramp

primary
#162C68
secondary
#9F843B
accent
#BB40E8
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#05050D
muted
#7A797E

Preview Lab

Preview with #162C68

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

Preview Lab → · Contrast checker → · Palette generator →

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