#162280#162280

#162280 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.9% C 0.156 H 268.9°. Best body text is #FFFFFF at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#162280
RGBrgb(22, 34, 128)
HSLhsl(233, 71%, 29%)
HSVhsv(233, 83%, 50%)
CMYKcmyk(82.8%, 73.4%, 0%, 49.8%)
CIE-LABlab(19.53, 31.66, -53.78)
CIE-LCHlch(19.53, 62.41, 300.48°)
OKLaboklab(31.92% -0.0031 -0.1558)
OKLCHoklch(31.92% 0.156 268.9)
XYZxyz(4.7978, 2.8726, 20.7195)
Luminance0.0287 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162280 #807416
analogous
#165780 #162280 #3F1680
triadic
#162280 #801622 #228016
tetradic
#162280 #801657 #807416 #16803F
square
#162280 #801657 #807416 #16803F
split-complementary
#162280 #803F16 #578016
monochromatic
#04071A #0D144C #162280 #1F30B4 #3447DC

Accessibility & contrast

On white

13.34
#162280 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#162280 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162280
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162280#FFFFFF#000000##FFFFFF
##1622801.0013.341.5713.34
#FFFFFF13.341.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003483
Deuteranopia (green-blind)
#002A7E
Tritanopia (blue-blind)
#003D4E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #162280;
/* rgb */ color: rgb(22, 34, 128);
/* oklch */ color: oklch(31.9% 0.156 268.9);
Tailwind
colors: {
  custom: {
    50: '#685da6',
    500: '#162280',
    950: '#000000',
  },
}
SCSS
$custom: #162280;
$custom-light: #685da6;
$custom-dark: #000000;
JSON
{
  "hex": "#162280",
  "rgb": {
    "r": 22,
    "g": 34,
    "b": 128
  },
  "hsl": {
    "h": 233.208,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.31921,
    "c": 0.15585,
    "h": 268.9
  },
  "luminance": 0.02873
}

Semantic roles & 50–950 ramp

primary
#162280
secondary
#B5A73D
accent
#D93AED
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #162280

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

Preview Lab → · Contrast checker → · Palette generator →

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