#162B4E#162B4E

#162B4E is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.2% C 0.070 H 260.0°. Best body text is #FFFFFF at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#162B4E
RGBrgb(22, 43, 78)
HSLhsl(218, 56%, 20%)
HSVhsv(218, 72%, 31%)
CMYKcmyk(71.8%, 44.9%, 0%, 69.4%)
CIE-LABlab(17.68, 4.88, -24.07)
CIE-LCHlch(17.68, 24.56, 281.46°)
OKLaboklab(29.18% -0.012 -0.0686)
OKLCHoklch(29.18% 0.07 260)
XYZxyz(2.5694, 2.4481, 7.5434)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162B4E #4E3916
analogous
#16474E #162B4E #1D164E
triadic
#162B4E #4E162B #2B4E16
tetradic
#162B4E #4E1647 #4E3916 #164E1D
square
#162B4E #4E1647 #4E3916 #164E1D
split-complementary
#162B4E #4E1D16 #474E16
monochromatic
#070D18 #09111E #162B4E #23457E #3160AD

Accessibility & contrast

On white

14.10
#162B4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#162B4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162B4E
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162B4E#FFFFFF#000000##FFFFFF
##162B4E1.0014.101.4914.10
#FFFFFF14.101.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2E4F
Deuteranopia (green-blind)
#13294D
Tritanopia (blue-blind)
#003338
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #162b4e;
/* rgb */ color: rgb(22, 43, 78);
/* oklch */ color: oklch(29.2% 0.070 260.0);
Tailwind
colors: {
  custom: {
    50: '#5a6380',
    500: '#162b4e',
    950: '#000000',
  },
}
SCSS
$custom: #162b4e;
$custom-light: #5a6380;
$custom-dark: #000000;
JSON
{
  "hex": "#162b4e",
  "rgb": {
    "r": 22,
    "g": 43,
    "b": 78
  },
  "hsl": {
    "h": 217.5,
    "s": 56,
    "l": 19.608
  },
  "oklch": {
    "l": 0.29184,
    "c": 0.06962,
    "h": 260
  },
  "luminance": 0.02448
}

Semantic roles & 50–950 ramp

primary
#162B4E
secondary
#85693A
accent
#A749DF
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#04050A
muted
#79797C

Preview Lab

Preview with #162B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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