#162347#162347

#162347 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.6% C 0.069 H 266.8°. Best body text is #FFFFFF at 15.38:1 contrast (WCAG AA passes).

Color values

HEX#162347
RGBrgb(22, 35, 71)
HSLhsl(224, 53%, 18%)
HSVhsv(224, 69%, 28%)
CMYKcmyk(69%, 50.7%, 0%, 72.2%)
CIE-LABlab(14.55, 7.91, -24.28)
CIE-LCHlch(14.55, 25.53, 288.04°)
OKLaboklab(26.62% -0.0039 -0.0693)
OKLCHoklch(26.62% 0.069 266.8)
XYZxyz(2.0689, 1.8274, 6.2037)
Luminance0.0183 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162347 #473A16
analogous
#163B47 #162347 #211647
triadic
#162347 #471623 #234716
tetradic
#162347 #47163B #473A16 #164721
square
#162347 #47163B #473A16 #164721
split-complementary
#162347 #472116 #3B4716
monochromatic
#070C17 #080C18 #162347 #243A76 #3351A4

Accessibility & contrast

On white

15.38
#162347 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#162347 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162347
15.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162347#FFFFFF#000000##FFFFFF
##1623471.0015.381.3715.38
#FFFFFF15.381.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122748
Deuteranopia (green-blind)
#0A2346
Tritanopia (blue-blind)
#002B31
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #162347;
/* rgb */ color: rgb(22, 35, 71);
/* oklch */ color: oklch(26.6% 0.069 266.8);
Tailwind
colors: {
  custom: {
    50: '#595d7a',
    500: '#162347',
    950: '#000000',
  },
}
SCSS
$custom: #162347;
$custom-light: #595d7a;
$custom-dark: #000000;
JSON
{
  "hex": "#162347",
  "rgb": {
    "r": 22,
    "g": 35,
    "b": 71
  },
  "hsl": {
    "h": 224.082,
    "s": 52.688,
    "l": 18.235
  },
  "oklch": {
    "l": 0.26618,
    "c": 0.06942,
    "h": 266.8
  },
  "luminance": 0.01828
}

Semantic roles & 50–950 ramp

primary
#162347
secondary
#7E6C3A
accent
#B64CDC
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040409
muted
#79797B

Preview Lab

Preview with #162347

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

Preview Lab → · Contrast checker → · Palette generator →

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