#162F53#162F53

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

Color values

HEX#162F53
RGBrgb(22, 47, 83)
HSLhsl(215, 58%, 21%)
HSVhsv(215, 73%, 33%)
CMYKcmyk(73.5%, 43.4%, 0%, 67.5%)
CIE-LABlab(19.34, 4.06, -24.79)
CIE-LCHlch(19.34, 25.12, 279.29°)
OKLaboklab(30.58% -0.0154 -0.0706)
OKLCHoklch(30.58% 0.072 257.7)
XYZxyz(2.9082, 2.8278, 8.5745)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162F53 #533A16
analogous
#164D53 #162F53 #1B1653
triadic
#162F53 #53162F #2F5316
tetradic
#162F53 #53164D #533A16 #16531B
square
#162F53 #53164D #533A16 #16531B
split-complementary
#162F53 #531B16 #4D5316
monochromatic
#060E18 #091423 #162F53 #234A83 #3066B4

Accessibility & contrast

On white

13.41
#162F53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #162F53
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162F53#FFFFFF#000000##FFFFFF
##162F531.0013.411.5713.41
#FFFFFF13.411.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3254
Deuteranopia (green-blind)
#152C52
Tritanopia (blue-blind)
#00373D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #162f53;
/* rgb */ color: rgb(22, 47, 83);
/* oklch */ color: oklch(30.6% 0.072 257.7);
Tailwind
colors: {
  custom: {
    50: '#5b6783',
    500: '#162f53',
    950: '#000000',
  },
}
SCSS
$custom: #162f53;
$custom-light: #5b6783;
$custom-dark: #000000;
JSON
{
  "hex": "#162f53",
  "rgb": {
    "r": 22,
    "g": 47,
    "b": 83
  },
  "hsl": {
    "h": 215.41,
    "s": 58.095,
    "l": 20.588
  },
  "oklch": {
    "l": 0.30575,
    "c": 0.07229,
    "h": 257.7
  },
  "luminance": 0.02828
}

Semantic roles & 50–950 ramp

primary
#162F53
secondary
#8A6A3A
accent
#A246E1
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060A
muted
#797A7C

Preview Lab

Preview with #162F53

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

Preview Lab → · Contrast checker → · Palette generator →

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