#162B4F#162B4F

#162B4F is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.3% C 0.071 H 260.5°. Best body text is #FFFFFF at 14.07:1 contrast (WCAG AA passes).

Color values

HEX#162B4F
RGBrgb(22, 43, 79)
HSLhsl(218, 56%, 20%)
HSVhsv(218, 72%, 31%)
CMYKcmyk(72.2%, 45.6%, 0%, 69%)
CIE-LABlab(17.75, 5.29, -24.64)
CIE-LCHlch(17.75, 25.20, 282.12°)
OKLaboklab(29.26% -0.0118 -0.0702)
OKLCHoklch(29.26% 0.071 260.5)
XYZxyz(2.6055, 2.4626, 7.7336)
Luminance0.0246 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162B4F #4F3A16
analogous
#16484F #162B4F #1E164F
triadic
#162B4F #4F162B #2B4F16
tetradic
#162B4F #4F1648 #4F3A16 #164F1E
square
#162B4F #4F1648 #4F3A16 #164F1E
split-complementary
#162B4F #4F1E16 #484F16
monochromatic
#070D18 #09111F #162B4F #23457F #315FAF

Accessibility & contrast

On white

14.07
#162B4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #162B4F
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162B4F#FFFFFF#000000##FFFFFF
##162B4F1.0014.071.4914.07
#FFFFFF14.071.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2E50
Deuteranopia (green-blind)
#12294E
Tritanopia (blue-blind)
#003339
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #162b4f;
/* rgb */ color: rgb(22, 43, 79);
/* oklch */ color: oklch(29.3% 0.071 260.5);
Tailwind
colors: {
  custom: {
    50: '#5a6380',
    500: '#162b4f',
    950: '#000000',
  },
}
SCSS
$custom: #162b4f;
$custom-light: #5a6380;
$custom-dark: #000000;
JSON
{
  "hex": "#162b4f",
  "rgb": {
    "r": 22,
    "g": 43,
    "b": 79
  },
  "hsl": {
    "h": 217.895,
    "s": 56.436,
    "l": 19.804
  },
  "oklch": {
    "l": 0.29256,
    "c": 0.07122,
    "h": 260.5
  },
  "luminance": 0.02463
}

Semantic roles & 50–950 ramp

primary
#162B4F
secondary
#866A3A
accent
#A848E0
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#04050A
muted
#79797C

Preview Lab

Preview with #162B4F

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

Preview Lab → · Contrast checker → · Palette generator →

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