#162C59#162C59

#162C59 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.3% C 0.086 H 262.8°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#162C59
RGBrgb(22, 44, 89)
HSLhsl(220, 60%, 22%)
HSVhsv(220, 75%, 35%)
CMYKcmyk(75.3%, 50.6%, 0%, 65.1%)
CIE-LABlab(18.77, 8.74, -29.71)
CIE-LCHlch(18.77, 30.97, 286.40°)
OKLaboklab(30.27% -0.0108 -0.0851)
OKLCHoklch(30.27% 0.086 262.8)
XYZxyz(3.0341, 2.6929, 9.8091)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162C59 #594316
analogous
#164E59 #162C59 #221659
triadic
#162C59 #59162C #2C5916
tetradic
#162C59 #59164E #594316 #165922
square
#162C59 #59164E #594316 #165922
split-complementary
#162C59 #592216 #4E5916
monochromatic
#060C19 #0A1428 #162C59 #22448A #2E5DBB

Accessibility & contrast

On white

13.65
#162C59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#162C59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162C59
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162C59#FFFFFF#000000##FFFFFF
##162C591.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15315B
Deuteranopia (green-blind)
#062B58
Tritanopia (blue-blind)
#00373E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #162c59;
/* rgb */ color: rgb(22, 44, 89);
/* oklch */ color: oklch(30.3% 0.086 262.8);
Tailwind
colors: {
  custom: {
    50: '#5d6488',
    500: '#162c59',
    950: '#000000',
  },
}
SCSS
$custom: #162c59;
$custom-light: #5d6488;
$custom-dark: #000000;
JSON
{
  "hex": "#162c59",
  "rgb": {
    "r": 22,
    "g": 44,
    "b": 89
  },
  "hsl": {
    "h": 220.299,
    "s": 60.36,
    "l": 21.765
  },
  "oklch": {
    "l": 0.30267,
    "c": 0.0858,
    "h": 262.8
  },
  "luminance": 0.02693
}

Semantic roles & 50–950 ramp

primary
#162C59
secondary
#90743B
accent
#AF44E4
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#05050B
muted
#79797C

Preview Lab

Preview with #162C59

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

Preview Lab → · Contrast checker → · Palette generator →

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