#162F54#162F54

#162F54 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.6% C 0.074 H 258.2°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#162F54
RGBrgb(22, 47, 84)
HSLhsl(216, 58%, 21%)
HSVhsv(216, 74%, 33%)
CMYKcmyk(73.8%, 44%, 0%, 67.1%)
CIE-LABlab(19.41, 4.47, -25.36)
CIE-LCHlch(19.41, 25.75, 279.99°)
OKLaboklab(30.65% -0.0152 -0.0723)
OKLCHoklch(30.65% 0.074 258.2)
XYZxyz(2.9470, 2.8434, 8.7793)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162F54 #543B16
analogous
#164E54 #162F54 #1C1654
triadic
#162F54 #54162F #2F5416
tetradic
#162F54 #54164E #543B16 #16541C
square
#162F54 #54164E #543B16 #16541C
split-complementary
#162F54 #541C16 #4E5416
monochromatic
#060E18 #091424 #162F54 #234A84 #2F65B5

Accessibility & contrast

On white

13.39
#162F54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#162F54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162F54
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162F54#FFFFFF#000000##FFFFFF
##162F541.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3255
Deuteranopia (green-blind)
#142C53
Tritanopia (blue-blind)
#00383D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #162f54;
/* rgb */ color: rgb(22, 47, 84);
/* oklch */ color: oklch(30.6% 0.074 258.2);
Tailwind
colors: {
  custom: {
    50: '#5c6784',
    500: '#162f54',
    950: '#000000',
  },
}
SCSS
$custom: #162f54;
$custom-light: #5c6784;
$custom-dark: #000000;
JSON
{
  "hex": "#162f54",
  "rgb": {
    "r": 22,
    "g": 47,
    "b": 84
  },
  "hsl": {
    "h": 215.806,
    "s": 58.491,
    "l": 20.784
  },
  "oklch": {
    "l": 0.30647,
    "c": 0.07386,
    "h": 258.2
  },
  "luminance": 0.02844
}

Semantic roles & 50–950 ramp

primary
#162F54
secondary
#8B6B3A
accent
#A346E2
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060B
muted
#797A7C

Preview Lab

Preview with #162F54

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

Preview Lab → · Contrast checker → · Palette generator →

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