#162380#162380

#162380 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.1% C 0.155 H 268.7°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#162380
RGBrgb(22, 35, 128)
HSLhsl(233, 71%, 29%)
HSVhsv(233, 83%, 50%)
CMYKcmyk(82.8%, 72.7%, 0%, 49.8%)
CIE-LABlab(19.76, 31.00, -53.39)
CIE-LCHlch(19.76, 61.74, 300.14°)
OKLaboklab(32.09% -0.0036 -0.1547)
OKLCHoklch(32.09% 0.155 268.7)
XYZxyz(4.8268, 2.9306, 20.7292)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162380 #807316
analogous
#165880 #162380 #3E1680
triadic
#162380 #801623 #238016
tetradic
#162380 #801658 #807316 #16803E
square
#162380 #801658 #807316 #16803E
split-complementary
#162380 #803E16 #588016
monochromatic
#04071A #0D154C #162380 #1F31B4 #3449DC

Accessibility & contrast

On white

13.24
#162380 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#162380 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162380
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162380#FFFFFF#000000##FFFFFF
##1623801.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003583
Deuteranopia (green-blind)
#002B7E
Tritanopia (blue-blind)
#003D4F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #162380;
/* rgb */ color: rgb(22, 35, 128);
/* oklch */ color: oklch(32.1% 0.155 268.7);
Tailwind
colors: {
  custom: {
    50: '#685ea6',
    500: '#162380',
    950: '#000000',
  },
}
SCSS
$custom: #162380;
$custom-light: #685ea6;
$custom-dark: #000000;
JSON
{
  "hex": "#162380",
  "rgb": {
    "r": 22,
    "g": 35,
    "b": 128
  },
  "hsl": {
    "h": 232.642,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.32093,
    "c": 0.15472,
    "h": 268.7
  },
  "luminance": 0.02931
}

Semantic roles & 50–950 ramp

primary
#162380
secondary
#B5A63D
accent
#D73AED
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #162380

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

Preview Lab → · Contrast checker → · Palette generator →

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