#162174#162174

#162174 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.4% C 0.141 H 269.5°. Best body text is #FFFFFF at 13.96:1 contrast (WCAG AA passes).

Color values

HEX#162174
RGBrgb(22, 33, 116)
HSLhsl(233, 68%, 27%)
HSVhsv(233, 81%, 45%)
CMYKcmyk(81%, 71.6%, 0%, 54.5%)
CIE-LABlab(18.00, 27.73, -48.63)
CIE-LCHlch(18.00, 55.98, 299.69°)
OKLaboklab(30.44% -0.0013 -0.1408)
OKLCHoklch(30.44% 0.141 269.5)
XYZxyz(4.0260, 2.5188, 16.7936)
Luminance0.0252 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162174 #746916
analogous
#165074 #162174 #3A1674
triadic
#162174 #741621 #217416
tetradic
#162174 #741650 #746916 #16743A
square
#162174 #741650 #746916 #16743A
split-complementary
#162174 #743A16 #507416
monochromatic
#05071A #0C1241 #162174 #2030A7 #2D41D7

Accessibility & contrast

On white

13.96
#162174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#162174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162174
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162174#FFFFFF#000000##FFFFFF
##1621741.0013.961.5013.96
#FFFFFF13.961.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003177
Deuteranopia (green-blind)
#002872
Tritanopia (blue-blind)
#003847
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #162174;
/* rgb */ color: rgb(22, 33, 116);
/* oklch */ color: oklch(30.4% 0.141 269.5);
Tailwind
colors: {
  custom: {
    50: '#655c9d',
    500: '#162174',
    950: '#000000',
  },
}
SCSS
$custom: #162174;
$custom-light: #655c9d;
$custom-dark: #000000;
JSON
{
  "hex": "#162174",
  "rgb": {
    "r": 22,
    "g": 33,
    "b": 116
  },
  "hsl": {
    "h": 232.979,
    "s": 68.116,
    "l": 27.059
  },
  "oklch": {
    "l": 0.30436,
    "c": 0.14081,
    "h": 269.5
  },
  "luminance": 0.02519
}

Semantic roles & 50–950 ramp

primary
#162174
secondary
#AA9D3C
accent
#D73DEB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #162174

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

Preview Lab → · Contrast checker → · Palette generator →

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