#162170#162170

#162170 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.0% C 0.135 H 269.6°. Best body text is #FFFFFF at 14.14:1 contrast (WCAG AA passes).

Color values

HEX#162170
RGBrgb(22, 33, 112)
HSLhsl(233, 67%, 26%)
HSVhsv(233, 80%, 44%)
CMYKcmyk(80.4%, 70.5%, 0%, 56.1%)
CIE-LABlab(17.59, 26.17, -46.73)
CIE-LCHlch(17.59, 53.56, 299.25°)
OKLaboklab(30.01% -0.0009 -0.1352)
OKLCHoklch(30.01% 0.135 269.6)
XYZxyz(3.7984, 2.4277, 15.5945)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162170 #706516
analogous
#164E70 #162170 #381670
triadic
#162170 #701621 #217016
tetradic
#162170 #70164E #706516 #167038
square
#162170 #70164E #706516 #167038
split-complementary
#162170 #703816 #4E7016
monochromatic
#05081A #0C123D #162170 #2030A3 #2B40D5

Accessibility & contrast

On white

14.14
#162170 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#162170 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162170
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162170#FFFFFF#000000##FFFFFF
##1621701.0014.141.4914.14
#FFFFFF14.141.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #162170;
/* rgb */ color: rgb(22, 33, 112);
/* oklch */ color: oklch(30.0% 0.135 269.6);
Tailwind
colors: {
  custom: {
    50: '#645c9a',
    500: '#162170',
    950: '#000000',
  },
}
SCSS
$custom: #162170;
$custom-light: #645c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#162170",
  "rgb": {
    "r": 22,
    "g": 33,
    "b": 112
  },
  "hsl": {
    "h": 232.667,
    "s": 67.164,
    "l": 26.275
  },
  "oklch": {
    "l": 0.30009,
    "c": 0.13525,
    "h": 269.6
  },
  "luminance": 0.02428
}

Semantic roles & 50–950 ramp

primary
#162170
secondary
#A6993C
accent
#D53EEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #162170

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

Preview Lab → · Contrast checker → · Palette generator →

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