#162674#162674

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

Color values

HEX#162674
RGBrgb(22, 38, 116)
HSLhsl(230, 68%, 27%)
HSVhsv(230, 81%, 45%)
CMYKcmyk(81%, 67.2%, 0%, 54.5%)
CIE-LABlab(19.30, 24.28, -46.51)
CIE-LCHlch(19.30, 52.46, 297.57°)
OKLaboklab(31.38% -0.0042 -0.1346)
OKLCHoklch(31.38% 0.135 268.2)
XYZxyz(4.1753, 2.8173, 16.8433)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162674 #746416
analogous
#165574 #162674 #351674
triadic
#162674 #741626 #267416
tetradic
#162674 #741655 #746416 #167435
square
#162674 #741655 #746416 #167435
split-complementary
#162674 #743516 #557416
monochromatic
#05081A #0C1541 #162674 #2037A7 #2D4AD7

Accessibility & contrast

On white

13.43
#162674 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #162674
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162674#FFFFFF#000000##FFFFFF
##1626741.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #162674;
/* rgb */ color: rgb(22, 38, 116);
/* oklch */ color: oklch(31.4% 0.135 268.2);
Tailwind
colors: {
  custom: {
    50: '#65609d',
    500: '#162674',
    950: '#000000',
  },
}
SCSS
$custom: #162674;
$custom-light: #65609d;
$custom-dark: #000000;
JSON
{
  "hex": "#162674",
  "rgb": {
    "r": 22,
    "g": 38,
    "b": 116
  },
  "hsl": {
    "h": 229.787,
    "s": 68.116,
    "l": 27.059
  },
  "oklch": {
    "l": 0.31381,
    "c": 0.13463,
    "h": 268.2
  },
  "luminance": 0.02818
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #162674

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

Preview Lab → · Contrast checker → · Palette generator →

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