#162074#162074

#162074 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.3% C 0.142 H 269.7°. Best body text is #FFFFFF at 14.07:1 contrast (WCAG AA passes).

Color values

HEX#162074
RGBrgb(22, 32, 116)
HSLhsl(234, 68%, 27%)
HSVhsv(234, 81%, 45%)
CMYKcmyk(81%, 72.4%, 0%, 54.5%)
CIE-LABlab(17.76, 28.40, -49.04)
CIE-LCHlch(17.76, 56.67, 300.08°)
OKLaboklab(30.26% -0.0008 -0.142)
OKLCHoklch(30.26% 0.142 269.7)
XYZxyz(3.9987, 2.4641, 16.7845)
Luminance0.0246 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162074 #746A16
analogous
#164F74 #162074 #3B1674
triadic
#162074 #741620 #207416
tetradic
#162074 #74164F #746A16 #16743B
square
#162074 #74164F #746A16 #16743B
split-complementary
#162074 #743B16 #4F7416
monochromatic
#05071A #0C1241 #162074 #202EA7 #2D3FD7

Accessibility & contrast

On white

14.07
#162074 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#162074 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162074
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162074#FFFFFF#000000##FFFFFF
##1620741.0014.071.4914.07
#FFFFFF14.071.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003077
Deuteranopia (green-blind)
#002772
Tritanopia (blue-blind)
#003747
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #162074;
/* rgb */ color: rgb(22, 32, 116);
/* oklch */ color: oklch(30.3% 0.142 269.7);
Tailwind
colors: {
  custom: {
    50: '#655b9d',
    500: '#162074',
    950: '#000000',
  },
}
SCSS
$custom: #162074;
$custom-light: #655b9d;
$custom-dark: #000000;
JSON
{
  "hex": "#162074",
  "rgb": {
    "r": 22,
    "g": 32,
    "b": 116
  },
  "hsl": {
    "h": 233.617,
    "s": 68.116,
    "l": 27.059
  },
  "oklch": {
    "l": 0.30257,
    "c": 0.14199,
    "h": 269.7
  },
  "luminance": 0.02465
}

Semantic roles & 50–950 ramp

primary
#162074
secondary
#AA9E3C
accent
#D83DEB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #162074

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

Preview Lab → · Contrast checker → · Palette generator →

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