#162679#162679

#162679 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.9% C 0.142 H 268.2°. Best body text is #FFFFFF at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#162679
RGBrgb(22, 38, 121)
HSLhsl(230, 69%, 28%)
HSVhsv(230, 82%, 47%)
CMYKcmyk(81.8%, 68.6%, 0%, 52.5%)
CIE-LABlab(19.79, 26.27, -48.90)
CIE-LCHlch(19.79, 55.51, 298.24°)
OKLaboklab(31.89% -0.0045 -0.1416)
OKLCHoklch(31.89% 0.142 268.2)
XYZxyz(4.4740, 2.9368, 18.4165)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162679 #796916
analogous
#165779 #162679 #371679
triadic
#162679 #791626 #267916
tetradic
#162679 #791657 #796916 #167937
square
#162679 #791657 #796916 #167937
split-complementary
#162679 #793716 #577916
monochromatic
#05081A #0D1645 #162679 #1F36AD #304BD9

Accessibility & contrast

On white

13.23
#162679 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #162679
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162679#FFFFFF#000000##FFFFFF
##1626791.0013.231.5913.23
#FFFFFF13.231.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357C
Deuteranopia (green-blind)
#002B77
Tritanopia (blue-blind)
#003C4C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #162679;
/* rgb */ color: rgb(22, 38, 121);
/* oklch */ color: oklch(31.9% 0.142 268.2);
Tailwind
colors: {
  custom: {
    50: '#6660a1',
    500: '#162679',
    950: '#000000',
  },
}
SCSS
$custom: #162679;
$custom-light: #6660a1;
$custom-dark: #000000;
JSON
{
  "hex": "#162679",
  "rgb": {
    "r": 22,
    "g": 38,
    "b": 121
  },
  "hsl": {
    "h": 230.303,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.31892,
    "c": 0.14164,
    "h": 268.2
  },
  "luminance": 0.02937
}

Semantic roles & 50–950 ramp

primary
#162679
secondary
#AE9C3D
accent
#D03CEC
background
#F6F5FA
surface
#EBE9F3
border
#C6C5CD
text
#07050F
muted
#7A797F

Preview Lab

Preview with #162679

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

Preview Lab → · Contrast checker → · Palette generator →

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