#162070#162070

#162070 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 29.8% C 0.136 H 269.8°. Best body text is #FFFFFF at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#162070
RGBrgb(22, 32, 112)
HSLhsl(233, 67%, 26%)
HSVhsv(233, 80%, 44%)
CMYKcmyk(80.4%, 71.4%, 0%, 56.1%)
CIE-LABlab(17.33, 26.85, -47.15)
CIE-LCHlch(17.33, 54.26, 299.66°)
OKLaboklab(29.82% -0.0004 -0.1365)
OKLCHoklch(29.82% 0.136 269.8)
XYZxyz(3.7710, 2.3730, 15.5854)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162070 #706616
analogous
#164D70 #162070 #391670
triadic
#162070 #701620 #207016
tetradic
#162070 #70164D #706616 #167039
square
#162070 #70164D #706616 #167039
split-complementary
#162070 #703916 #4D7016
monochromatic
#05071A #0C113D #162070 #202FA3 #2B3ED5

Accessibility & contrast

On white

14.24
#162070 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#162070 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162070
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162070#FFFFFF#000000##FFFFFF
##1620701.0014.241.4714.24
#FFFFFF14.241.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F72
Deuteranopia (green-blind)
#00266F
Tritanopia (blue-blind)
#003645
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #162070;
/* rgb */ color: rgb(22, 32, 112);
/* oklch */ color: oklch(29.8% 0.136 269.8);
Tailwind
colors: {
  custom: {
    50: '#645b9a',
    500: '#162070',
    950: '#000000',
  },
}
SCSS
$custom: #162070;
$custom-light: #645b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#162070",
  "rgb": {
    "r": 22,
    "g": 32,
    "b": 112
  },
  "hsl": {
    "h": 233.333,
    "s": 67.164,
    "l": 26.275
  },
  "oklch": {
    "l": 0.29824,
    "c": 0.13647,
    "h": 269.8
  },
  "luminance": 0.02373
}

Semantic roles & 50–950 ramp

primary
#162070
secondary
#A69A3C
accent
#D73EEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #162070

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

Preview Lab → · Contrast checker → · Palette generator →

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