#162179#162179

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

Color values

HEX#162179
RGBrgb(22, 33, 121)
HSLhsl(233, 69%, 28%)
HSVhsv(233, 82%, 47%)
CMYKcmyk(81.8%, 72.7%, 0%, 52.5%)
CIE-LABlab(18.53, 29.65, -50.97)
CIE-LCHlch(18.53, 58.97, 300.19°)
OKLaboklab(30.98% -0.0018 -0.1476)
OKLCHoklch(30.98% 0.148 269.3)
XYZxyz(4.3247, 2.6383, 18.3668)
Luminance0.0264 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162179 #796E16
analogous
#165279 #162179 #3C1679
triadic
#162179 #791621 #217916
tetradic
#162179 #791652 #796E16 #16793C
square
#162179 #791652 #796E16 #16793C
split-complementary
#162179 #793C16 #527916
monochromatic
#05071A #0D1345 #162179 #1F2FAD #3043D9

Accessibility & contrast

On white

13.75
#162179 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#162179 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162179
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162179#FFFFFF#000000##FFFFFF
##1621791.0013.751.5313.75
#FFFFFF13.751.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327C
Deuteranopia (green-blind)
#002877
Tritanopia (blue-blind)
#003A4A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #162179;
/* rgb */ color: rgb(22, 33, 121);
/* oklch */ color: oklch(31.0% 0.148 269.3);
Tailwind
colors: {
  custom: {
    50: '#675ca1',
    500: '#162179',
    950: '#000000',
  },
}
SCSS
$custom: #162179;
$custom-light: #675ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#162179",
  "rgb": {
    "r": 22,
    "g": 33,
    "b": 121
  },
  "hsl": {
    "h": 233.333,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.30979,
    "c": 0.14762,
    "h": 269.3
  },
  "luminance": 0.02639
}

Semantic roles & 50–950 ramp

primary
#162179
secondary
#AEA23D
accent
#D83CEC
background
#F6F5FA
surface
#EBE9F3
border
#C6C5CD
text
#07040F
muted
#7A797F

Preview Lab

Preview with #162179

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

Preview Lab → · Contrast checker → · Palette generator →

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