#162684#162684

#162684 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.1% C 0.157 H 268.1°. Best body text is #FFFFFF at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#162684
RGBrgb(22, 38, 132)
HSLhsl(231, 71%, 30%)
HSVhsv(231, 83%, 52%)
CMYKcmyk(83.3%, 71.2%, 0%, 48.2%)
CIE-LABlab(20.91, 30.55, -54.03)
CIE-LCHlch(20.91, 62.07, 299.49°)
OKLaboklab(33.05% -0.0053 -0.1565)
OKLCHoklch(33.05% 0.157 268.1)
XYZxyz(5.1874, 3.2221, 22.1739)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162684 #847416
analogous
#165D84 #162684 #3D1684
triadic
#162684 #841626 #268416
tetradic
#162684 #84165D #847416 #16843D
square
#162684 #84165D #847416 #16843D
split-complementary
#162684 #843D16 #5D8416
monochromatic
#05081B #0D1750 #162684 #1F35B8 #374FDE

Accessibility & contrast

On white

12.77
#162684 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#162684 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162684
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162684#FFFFFF#000000##FFFFFF
##1626841.0012.771.6412.77
#FFFFFF12.771.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003887
Deuteranopia (green-blind)
#002D82
Tritanopia (blue-blind)
#004052
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #162684;
/* rgb */ color: rgb(22, 38, 132);
/* oklch */ color: oklch(33.1% 0.157 268.1);
Tailwind
colors: {
  custom: {
    50: '#6960a9',
    500: '#162684',
    950: '#000000',
  },
}
SCSS
$custom: #162684;
$custom-light: #6960a9;
$custom-dark: #000000;
JSON
{
  "hex": "#162684",
  "rgb": {
    "r": 22,
    "g": 38,
    "b": 132
  },
  "hsl": {
    "h": 231.273,
    "s": 71.429,
    "l": 30.196
  },
  "oklch": {
    "l": 0.33051,
    "c": 0.15661,
    "h": 268.1
  },
  "luminance": 0.03223
}

Semantic roles & 50–950 ramp

primary
#162684
secondary
#B8A63D
accent
#D43AEE
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#080510
muted
#7A797F

Preview Lab

Preview with #162684

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

Preview Lab → · Contrast checker → · Palette generator →

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