#162B67#162B67

#162B67 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.2% C 0.109 H 265.7°. Best body text is #FFFFFF at 13.33:1 contrast (WCAG AA passes).

Color values

HEX#162B67
RGBrgb(22, 43, 103)
HSLhsl(224, 65%, 25%)
HSVhsv(224, 79%, 40%)
CMYKcmyk(78.6%, 58.3%, 0%, 59.6%)
CIE-LABlab(19.55, 15.36, -37.68)
CIE-LCHlch(19.55, 40.69, 292.17°)
OKLaboklab(31.2% -0.0081 -0.1086)
OKLCHoklch(31.2% 0.109 265.7)
XYZxyz(3.6421, 2.8772, 13.1927)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162B67 #675216
analogous
#165467 #162B67 #291667
triadic
#162B67 #67162B #2B6716
tetradic
#162B67 #671654 #675216 #166729
square
#162B67 #671654 #675216 #166729
split-complementary
#162B67 #672916 #546716
monochromatic
#050B19 #0B1635 #162B67 #214099 #2C55CC

Accessibility & contrast

On white

13.33
#162B67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#162B67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162B67
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162B67#FFFFFF#000000##FFFFFF
##162B671.0013.331.5813.33
#FFFFFF13.331.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003369
Deuteranopia (green-blind)
#002C66
Tritanopia (blue-blind)
#003A44
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #162b67;
/* rgb */ color: rgb(22, 43, 103);
/* oklch */ color: oklch(31.2% 0.109 265.7);
Tailwind
colors: {
  custom: {
    50: '#616393',
    500: '#162b67',
    950: '#000000',
  },
}
SCSS
$custom: #162b67;
$custom-light: #616393;
$custom-dark: #000000;
JSON
{
  "hex": "#162b67",
  "rgb": {
    "r": 22,
    "g": 43,
    "b": 103
  },
  "hsl": {
    "h": 224.444,
    "s": 64.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.31202,
    "c": 0.1089,
    "h": 265.7
  },
  "luminance": 0.02878
}

Semantic roles & 50–950 ramp

primary
#162B67
secondary
#9E843B
accent
#BC40E8
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#05050D
muted
#7A797E

Preview Lab

Preview with #162B67

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

Preview Lab → · Contrast checker → · Palette generator →

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