#162178#162178

#162178 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.9% C 0.146 H 269.3°. Best body text is #FFFFFF at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#162178
RGBrgb(22, 33, 120)
HSLhsl(233, 69%, 28%)
HSVhsv(233, 82%, 47%)
CMYKcmyk(81.7%, 72.5%, 0%, 52.9%)
CIE-LABlab(18.43, 29.27, -50.50)
CIE-LCHlch(18.43, 58.37, 300.10°)
OKLaboklab(30.87% -0.0017 -0.1463)
OKLCHoklch(30.87% 0.146 269.3)
XYZxyz(4.2637, 2.6139, 18.0455)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162178 #786D16
analogous
#165278 #162178 #3C1678
triadic
#162178 #781621 #217816
tetradic
#162178 #781652 #786D16 #16783C
square
#162178 #781652 #786D16 #16783C
split-complementary
#162178 #783C16 #527816
monochromatic
#05071A #0D1344 #162178 #1F2FAC #2F42D9

Accessibility & contrast

On white

13.79
#162178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#162178 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162178
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162178#FFFFFF#000000##FFFFFF
##1621781.0013.791.5213.79
#FFFFFF13.791.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327B
Deuteranopia (green-blind)
#002876
Tritanopia (blue-blind)
#00394A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #162178;
/* rgb */ color: rgb(22, 33, 120);
/* oklch */ color: oklch(30.9% 0.146 269.3);
Tailwind
colors: {
  custom: {
    50: '#665ca0',
    500: '#162178',
    950: '#000000',
  },
}
SCSS
$custom: #162178;
$custom-light: #665ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#162178",
  "rgb": {
    "r": 22,
    "g": 33,
    "b": 120
  },
  "hsl": {
    "h": 233.265,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.3087,
    "c": 0.14627,
    "h": 269.3
  },
  "luminance": 0.02614
}

Semantic roles & 50–950 ramp

primary
#162178
secondary
#ADA13C
accent
#D83CEC
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040F
muted
#7A797E

Preview Lab

Preview with #162178

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

Preview Lab → · Contrast checker → · Palette generator →

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