#162066#162066

#162066 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 28.8% C 0.122 H 270.2°. Best body text is #FFFFFF at 14.66:1 contrast (WCAG AA passes).

Color values

HEX#162066
RGBrgb(22, 32, 102)
HSLhsl(233, 65%, 24%)
HSVhsv(233, 78%, 40%)
CMYKcmyk(78.4%, 68.6%, 0%, 60%)
CIE-LABlab(16.32, 22.90, -42.29)
CIE-LCHlch(16.32, 48.09, 298.43°)
OKLaboklab(28.77% 0.0005 -0.1223)
OKLCHoklch(28.77% 0.122 270.2)
XYZxyz(3.2448, 2.1626, 12.8142)
Luminance0.0216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162066 #665C16
analogous
#164866 #162066 #341666
triadic
#162066 #661620 #206616
tetradic
#162066 #661648 #665C16 #166634
square
#162066 #661648 #665C16 #166634
split-complementary
#162066 #663416 #486616
monochromatic
#050819 #0B1034 #162066 #213098 #2C40CB

Accessibility & contrast

On white

14.66
#162066 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#162066 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162066
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162066#FFFFFF#000000##FFFFFF
##1620661.0014.661.4314.66
#FFFFFF14.661.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C68
Deuteranopia (green-blind)
#002565
Tritanopia (blue-blind)
#00323F
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #162066;
/* rgb */ color: rgb(22, 32, 102);
/* oklch */ color: oklch(28.8% 0.122 270.2);
Tailwind
colors: {
  custom: {
    50: '#615b92',
    500: '#162066',
    950: '#000000',
  },
}
SCSS
$custom: #162066;
$custom-light: #615b92;
$custom-dark: #000000;
JSON
{
  "hex": "#162066",
  "rgb": {
    "r": 22,
    "g": 32,
    "b": 102
  },
  "hsl": {
    "h": 232.5,
    "s": 64.516,
    "l": 24.314
  },
  "oklch": {
    "l": 0.28774,
    "c": 0.12227,
    "h": 270.2
  },
  "luminance": 0.02163
}

Semantic roles & 50–950 ramp

primary
#162066
secondary
#9D903B
accent
#D340E8
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #162066

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

Preview Lab → · Contrast checker → · Palette generator →

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