#162974#162974

#162974 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.0% C 0.131 H 267.3°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#162974
RGBrgb(22, 41, 116)
HSLhsl(228, 68%, 27%)
HSVhsv(228, 81%, 45%)
CMYKcmyk(81%, 64.7%, 0%, 54.5%)
CIE-LABlab(20.11, 22.16, -45.17)
CIE-LCHlch(20.11, 50.32, 296.14°)
OKLaboklab(31.98% -0.0062 -0.1306)
OKLCHoklch(31.98% 0.131 267.3)
XYZxyz(4.2751, 3.0169, 16.8766)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162974 #746116
analogous
#165874 #162974 #321674
triadic
#162974 #741629 #297416
tetradic
#162974 #741658 #746116 #167432
square
#162974 #741658 #746116 #167432
split-complementary
#162974 #743216 #587416
monochromatic
#05091A #0C1741 #162974 #203BA7 #2D50D7

Accessibility & contrast

On white

13.10
#162974 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#162974 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162974
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162974#FFFFFF#000000##FFFFFF
##1629741.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003576
Deuteranopia (green-blind)
#002C73
Tritanopia (blue-blind)
#003C4A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #162974;
/* rgb */ color: rgb(22, 41, 116);
/* oklch */ color: oklch(32.0% 0.131 267.3);
Tailwind
colors: {
  custom: {
    50: '#64629d',
    500: '#162974',
    950: '#000000',
  },
}
SCSS
$custom: #162974;
$custom-light: #64629d;
$custom-dark: #000000;
JSON
{
  "hex": "#162974",
  "rgb": {
    "r": 22,
    "g": 41,
    "b": 116
  },
  "hsl": {
    "h": 227.872,
    "s": 68.116,
    "l": 27.059
  },
  "oklch": {
    "l": 0.31982,
    "c": 0.13077,
    "h": 267.3
  },
  "luminance": 0.03017
}

Semantic roles & 50–950 ramp

primary
#162974
secondary
#AA943C
accent
#C83DEB
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #162974

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

Preview Lab → · Contrast checker → · Palette generator →

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