#162647#162647

#162647 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.4% C 0.065 H 263.2°. Best body text is #FFFFFF at 14.97:1 contrast (WCAG AA passes).

Color values

HEX#162647
RGBrgb(22, 38, 71)
HSLhsl(220, 53%, 18%)
HSVhsv(220, 69%, 28%)
CMYKcmyk(69%, 46.5%, 0%, 72.2%)
CIE-LABlab(15.55, 5.66, -22.69)
CIE-LCHlch(15.55, 23.39, 284.02°)
OKLaboklab(27.38% -0.0076 -0.0646)
OKLCHoklch(27.38% 0.065 263.2)
XYZxyz(2.1609, 2.0115, 6.2344)
Luminance0.0201 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162647 #473716
analogous
#163E47 #162647 #1E1647
triadic
#162647 #471626 #264716
tetradic
#162647 #47163E #473716 #16471E
square
#162647 #47163E #473716 #16471E
split-complementary
#162647 #471E16 #3E4716
monochromatic
#070D17 #080D18 #162647 #243F76 #3358A4

Accessibility & contrast

On white

14.97
#162647 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#162647 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162647
14.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162647#FFFFFF#000000##FFFFFF
##1626471.0014.971.4014.97
#FFFFFF14.971.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172948
Deuteranopia (green-blind)
#102546
Tritanopia (blue-blind)
#002D33
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #162647;
/* rgb */ color: rgb(22, 38, 71);
/* oklch */ color: oklch(27.4% 0.065 263.2);
Tailwind
colors: {
  custom: {
    50: '#595f7a',
    500: '#162647',
    950: '#000000',
  },
}
SCSS
$custom: #162647;
$custom-light: #595f7a;
$custom-dark: #000000;
JSON
{
  "hex": "#162647",
  "rgb": {
    "r": 22,
    "g": 38,
    "b": 71
  },
  "hsl": {
    "h": 220.408,
    "s": 52.688,
    "l": 18.235
  },
  "oklch": {
    "l": 0.27382,
    "c": 0.06506,
    "h": 263.2
  },
  "luminance": 0.02012
}

Semantic roles & 50–950 ramp

primary
#162647
secondary
#7E683A
accent
#AD4CDC
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040409
muted
#79797B

Preview Lab

Preview with #162647

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

Preview Lab → · Contrast checker → · Palette generator →

#162647 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva