#162247#162247

#162247 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.4% C 0.071 H 267.8°. Best body text is #FFFFFF at 15.51:1 contrast (WCAG AA passes).

Color values

HEX#162247
RGBrgb(22, 34, 71)
HSLhsl(225, 53%, 18%)
HSVhsv(225, 69%, 28%)
CMYKcmyk(69%, 52.1%, 0%, 72.2%)
CIE-LABlab(14.23, 8.66, -24.80)
CIE-LCHlch(14.23, 26.27, 289.24°)
OKLaboklab(26.37% -0.0027 -0.0709)
OKLCHoklch(26.37% 0.071 267.8)
XYZxyz(2.0398, 1.7694, 6.1940)
Luminance0.0177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162247 #473B16
analogous
#163A47 #162247 #221647
triadic
#162247 #471622 #224716
tetradic
#162247 #47163A #473B16 #164722
square
#162247 #47163A #473B16 #164722
split-complementary
#162247 #472216 #3A4716
monochromatic
#070B17 #080C18 #162247 #243876 #334FA4

Accessibility & contrast

On white

15.51
#162247 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#162247 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162247
15.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162247#FFFFFF#000000##FFFFFF
##1622471.0015.511.3515.51
#FFFFFF15.511.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102648
Deuteranopia (green-blind)
#082246
Tritanopia (blue-blind)
#002A31
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #162247;
/* rgb */ color: rgb(22, 34, 71);
/* oklch */ color: oklch(26.4% 0.071 267.8);
Tailwind
colors: {
  custom: {
    50: '#595c7a',
    500: '#162247',
    950: '#000000',
  },
}
SCSS
$custom: #162247;
$custom-light: #595c7a;
$custom-dark: #000000;
JSON
{
  "hex": "#162247",
  "rgb": {
    "r": 22,
    "g": 34,
    "b": 71
  },
  "hsl": {
    "h": 225.306,
    "s": 52.688,
    "l": 18.235
  },
  "oklch": {
    "l": 0.26369,
    "c": 0.07092,
    "h": 267.8
  },
  "luminance": 0.0177
}

Semantic roles & 50–950 ramp

primary
#162247
secondary
#7E6E3A
accent
#B94CDC
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040409
muted
#79797B

Preview Lab

Preview with #162247

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

Preview Lab → · Contrast checker → · Palette generator →

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