#162C67#162C67

#162C67 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.4% C 0.108 H 265.2°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#162C67
RGBrgb(22, 44, 103)
HSLhsl(224, 65%, 25%)
HSVhsv(224, 79%, 40%)
CMYKcmyk(78.6%, 57.3%, 0%, 59.6%)
CIE-LABlab(19.85, 14.63, -37.19)
CIE-LCHlch(19.85, 39.97, 291.47°)
OKLaboklab(31.43% -0.009 -0.1071)
OKLCHoklch(31.43% 0.108 265.2)
XYZxyz(3.6789, 2.9508, 13.2050)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162C67 #675116
analogous
#165567 #162C67 #291667
triadic
#162C67 #67162C #2C6716
tetradic
#162C67 #671655 #675116 #166729
square
#162C67 #671655 #675116 #166729
split-complementary
#162C67 #672916 #556716
monochromatic
#050B19 #0B1635 #162C67 #214299 #2C57CC

Accessibility & contrast

On white

13.21
#162C67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #162C67
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162C67#FFFFFF#000000##FFFFFF
##162C671.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003469
Deuteranopia (green-blind)
#002C66
Tritanopia (blue-blind)
#003A45
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #162c67;
/* rgb */ color: rgb(22, 44, 103);
/* oklch */ color: oklch(31.4% 0.108 265.2);
Tailwind
colors: {
  custom: {
    50: '#606493',
    500: '#162c67',
    950: '#000000',
  },
}
SCSS
$custom: #162c67;
$custom-light: #606493;
$custom-dark: #000000;
JSON
{
  "hex": "#162c67",
  "rgb": {
    "r": 22,
    "g": 44,
    "b": 103
  },
  "hsl": {
    "h": 223.704,
    "s": 64.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.31429,
    "c": 0.10751,
    "h": 265.2
  },
  "luminance": 0.02951
}

Semantic roles & 50–950 ramp

primary
#162C67
secondary
#9E833B
accent
#BA40E8
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#05050D
muted
#7A797E

Preview Lab

Preview with #162C67

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

Preview Lab → · Contrast checker → · Palette generator →

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