#162673#162673

#162673 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.3% C 0.133 H 268.2°. Best body text is #FFFFFF at 13.47:1 contrast (WCAG AA passes).

Color values

HEX#162673
RGBrgb(22, 38, 115)
HSLhsl(230, 68%, 27%)
HSVhsv(230, 81%, 45%)
CMYKcmyk(80.9%, 67%, 0%, 54.9%)
CIE-LABlab(19.20, 23.88, -46.02)
CIE-LCHlch(19.20, 51.85, 297.42°)
OKLaboklab(31.28% -0.0042 -0.1331)
OKLCHoklch(31.28% 0.133 268.2)
XYZxyz(4.1174, 2.7941, 16.5387)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162673 #736316
analogous
#165573 #162673 #341673
triadic
#162673 #731626 #267316
tetradic
#162673 #731655 #736316 #167334
square
#162673 #731655 #736316 #167334
split-complementary
#162673 #733416 #557316
monochromatic
#05081A #0C1540 #162673 #2037A6 #2D4AD7

Accessibility & contrast

On white

13.47
#162673 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #162673
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162673#FFFFFF#000000##FFFFFF
##1626731.0013.471.5613.47
#FFFFFF13.471.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003375
Deuteranopia (green-blind)
#002A72
Tritanopia (blue-blind)
#003A48
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #162673;
/* rgb */ color: rgb(22, 38, 115);
/* oklch */ color: oklch(31.3% 0.133 268.2);
Tailwind
colors: {
  custom: {
    50: '#64609c',
    500: '#162673',
    950: '#000000',
  },
}
SCSS
$custom: #162673;
$custom-light: #64609c;
$custom-dark: #000000;
JSON
{
  "hex": "#162673",
  "rgb": {
    "r": 22,
    "g": 38,
    "b": 115
  },
  "hsl": {
    "h": 229.677,
    "s": 67.883,
    "l": 26.863
  },
  "oklch": {
    "l": 0.3128,
    "c": 0.13321,
    "h": 268.2
  },
  "luminance": 0.02795
}

Semantic roles & 50–950 ramp

primary
#162673
secondary
#A9963C
accent
#CD3DEB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #162673

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

Preview Lab → · Contrast checker → · Palette generator →

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