#162E70#162E70

#162E70 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.7% C 0.118 H 265.2°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#162E70
RGBrgb(22, 46, 112)
HSLhsl(224, 67%, 26%)
HSVhsv(224, 80%, 44%)
CMYKcmyk(80.4%, 58.9%, 0%, 56.1%)
CIE-LABlab(21.18, 16.93, -40.85)
CIE-LCHlch(21.18, 44.22, 292.51°)
OKLaboklab(32.67% -0.0099 -0.1179)
OKLCHoklch(32.67% 0.118 265.2)
XYZxyz(4.2315, 3.2939, 15.7389)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162E70 #705816
analogous
#165B70 #162E70 #2B1670
triadic
#162E70 #70162E #2E7016
tetradic
#162E70 #70165B #705816 #16702B
square
#162E70 #70165B #705816 #16702B
split-complementary
#162E70 #702B16 #5B7016
monochromatic
#050B1A #0C193D #162E70 #2043A3 #2B58D5

Accessibility & contrast

On white

12.66
#162E70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#162E70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162E70
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162E70#FFFFFF#000000##FFFFFF
##162E701.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003772
Deuteranopia (green-blind)
#002F6F
Tritanopia (blue-blind)
#003E4A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #162e70;
/* rgb */ color: rgb(22, 46, 112);
/* oklch */ color: oklch(32.7% 0.118 265.2);
Tailwind
colors: {
  custom: {
    50: '#63669a',
    500: '#162e70',
    950: '#000000',
  },
}
SCSS
$custom: #162e70;
$custom-light: #63669a;
$custom-dark: #000000;
JSON
{
  "hex": "#162e70",
  "rgb": {
    "r": 22,
    "g": 46,
    "b": 112
  },
  "hsl": {
    "h": 224,
    "s": 67.164,
    "l": 26.275
  },
  "oklch": {
    "l": 0.32673,
    "c": 0.11828,
    "h": 265.2
  },
  "luminance": 0.03294
}

Semantic roles & 50–950 ramp

primary
#162E70
secondary
#A68A3C
accent
#BC3EEA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #162E70

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

Preview Lab → · Contrast checker → · Palette generator →

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