#162770#162770

#162770 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.2% C 0.128 H 267.9°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#162770
RGBrgb(22, 39, 112)
HSLhsl(229, 67%, 26%)
HSVhsv(229, 80%, 44%)
CMYKcmyk(80.4%, 65.2%, 0%, 56.1%)
CIE-LABlab(19.19, 21.96, -44.11)
CIE-LCHlch(19.19, 49.27, 296.47°)
OKLaboklab(31.18% -0.0048 -0.1275)
OKLCHoklch(31.18% 0.128 267.9)
XYZxyz(3.9800, 2.7910, 15.6551)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162770 #705F16
analogous
#165470 #162770 #321670
triadic
#162770 #701627 #277016
tetradic
#162770 #701654 #705F16 #167032
square
#162770 #701654 #705F16 #167032
split-complementary
#162770 #703216 #547016
monochromatic
#05091A #0C153D #162770 #2039A3 #2B4BD5

Accessibility & contrast

On white

13.48
#162770 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#162770 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162770
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162770#FFFFFF#000000##FFFFFF
##1627701.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003372
Deuteranopia (green-blind)
#002A6F
Tritanopia (blue-blind)
#003A47
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #162770;
/* rgb */ color: rgb(22, 39, 112);
/* oklch */ color: oklch(31.2% 0.128 267.9);
Tailwind
colors: {
  custom: {
    50: '#63609a',
    500: '#162770',
    950: '#000000',
  },
}
SCSS
$custom: #162770;
$custom-light: #63609a;
$custom-dark: #000000;
JSON
{
  "hex": "#162770",
  "rgb": {
    "r": 22,
    "g": 39,
    "b": 112
  },
  "hsl": {
    "h": 228.667,
    "s": 67.164,
    "l": 26.275
  },
  "oklch": {
    "l": 0.31182,
    "c": 0.12762,
    "h": 267.9
  },
  "luminance": 0.02791
}

Semantic roles & 50–950 ramp

primary
#162770
secondary
#A6923C
accent
#CA3EEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #162770

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

Preview Lab → · Contrast checker → · Palette generator →

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