#162773#162773

#162773 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.5% C 0.132 H 267.9°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#162773
RGBrgb(22, 39, 115)
HSLhsl(229, 68%, 27%)
HSVhsv(229, 81%, 45%)
CMYKcmyk(80.9%, 66.1%, 0%, 54.9%)
CIE-LABlab(19.47, 23.18, -45.58)
CIE-LCHlch(19.47, 51.13, 296.95°)
OKLaboklab(31.48% -0.0048 -0.1318)
OKLCHoklch(31.48% 0.132 267.9)
XYZxyz(4.1498, 2.8589, 16.5495)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162773 #736216
analogous
#165673 #162773 #341673
triadic
#162773 #731627 #277316
tetradic
#162773 #731656 #736216 #167334
square
#162773 #731656 #736216 #167334
split-complementary
#162773 #733416 #567316
monochromatic
#05091A #0C1640 #162773 #2038A6 #2D4CD7

Accessibility & contrast

On white

13.36
#162773 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#162773 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162773
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162773#FFFFFF#000000##FFFFFF
##1627731.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003475
Deuteranopia (green-blind)
#002B72
Tritanopia (blue-blind)
#003B49
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #162773;
/* rgb */ color: rgb(22, 39, 115);
/* oklch */ color: oklch(31.5% 0.132 267.9);
Tailwind
colors: {
  custom: {
    50: '#64619c',
    500: '#162773',
    950: '#000000',
  },
}
SCSS
$custom: #162773;
$custom-light: #64619c;
$custom-dark: #000000;
JSON
{
  "hex": "#162773",
  "rgb": {
    "r": 22,
    "g": 39,
    "b": 115
  },
  "hsl": {
    "h": 229.032,
    "s": 67.883,
    "l": 26.863
  },
  "oklch": {
    "l": 0.31479,
    "c": 0.13193,
    "h": 267.9
  },
  "luminance": 0.02859
}

Semantic roles & 50–950 ramp

primary
#162773
secondary
#A9953C
accent
#CB3DEB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #162773

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

Preview Lab → · Contrast checker → · Palette generator →

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