#162A60#162A60

#162A60 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.4% C 0.100 H 265.5°. Best body text is #FFFFFF at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#162A60
RGBrgb(22, 42, 96)
HSLhsl(224, 63%, 23%)
HSVhsv(224, 77%, 38%)
CMYKcmyk(77.1%, 56.3%, 0%, 62.4%)
CIE-LABlab(18.67, 13.15, -34.50)
CIE-LCHlch(18.67, 36.92, 290.87°)
OKLaboklab(30.36% -0.0078 -0.0993)
OKLCHoklch(30.36% 0.1 265.5)
XYZxyz(3.2694, 2.6707, 11.4073)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162A60 #604C16
analogous
#164F60 #162A60 #271660
triadic
#162A60 #60162A #2A6016
tetradic
#162A60 #60164F #604C16 #166027
square
#162A60 #60164F #604C16 #166027
split-complementary
#162A60 #602716 #4F6016
monochromatic
#060B19 #0B142E #162A60 #214092 #2D56C4

Accessibility & contrast

On white

13.69
#162A60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#162A60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162A60
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162A60#FFFFFF#000000##FFFFFF
##162A601.0013.691.5313.69
#FFFFFF13.691.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053162
Deuteranopia (green-blind)
#002A5F
Tritanopia (blue-blind)
#003740
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #162a60;
/* rgb */ color: rgb(22, 42, 96);
/* oklch */ color: oklch(30.4% 0.100 265.5);
Tailwind
colors: {
  custom: {
    50: '#5f638e',
    500: '#162a60',
    950: '#000000',
  },
}
SCSS
$custom: #162a60;
$custom-light: #5f638e;
$custom-dark: #000000;
JSON
{
  "hex": "#162a60",
  "rgb": {
    "r": 22,
    "g": 42,
    "b": 96
  },
  "hsl": {
    "h": 223.784,
    "s": 62.712,
    "l": 23.137
  },
  "oklch": {
    "l": 0.30364,
    "c": 0.09957,
    "h": 265.5
  },
  "luminance": 0.02671
}

Semantic roles & 50–950 ramp

primary
#162A60
secondary
#977E3B
accent
#BA42E6
background
#F5F5F8
surface
#EAEAF0
border
#C6C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #162A60

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

Preview Lab → · Contrast checker → · Palette generator →

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