#162C74#162C74

#162C74 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.6% C 0.127 H 266.3°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#162C74
RGBrgb(22, 44, 116)
HSLhsl(226, 68%, 27%)
HSVhsv(226, 81%, 45%)
CMYKcmyk(81%, 62.1%, 0%, 54.5%)
CIE-LABlab(20.95, 20.02, -43.80)
CIE-LCHlch(20.95, 48.16, 294.57°)
OKLaboklab(32.61% -0.0082 -0.1266)
OKLCHoklch(32.61% 0.127 266.3)
XYZxyz(4.3828, 3.2324, 16.9125)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162C74 #745E16
analogous
#165B74 #162C74 #2F1674
triadic
#162C74 #74162C #2C7416
tetradic
#162C74 #74165B #745E16 #16742F
square
#162C74 #74165B #745E16 #16742F
split-complementary
#162C74 #742F16 #5B7416
monochromatic
#050A1A #0C1841 #162C74 #2040A7 #2D55D7

Accessibility & contrast

On white

12.75
#162C74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#162C74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162C74
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162C74#FFFFFF#000000##FFFFFF
##162C741.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003776
Deuteranopia (green-blind)
#002E73
Tritanopia (blue-blind)
#003E4B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #162c74;
/* rgb */ color: rgb(22, 44, 116);
/* oklch */ color: oklch(32.6% 0.127 266.3);
Tailwind
colors: {
  custom: {
    50: '#64649d',
    500: '#162c74',
    950: '#000000',
  },
}
SCSS
$custom: #162c74;
$custom-light: #64649d;
$custom-dark: #000000;
JSON
{
  "hex": "#162c74",
  "rgb": {
    "r": 22,
    "g": 44,
    "b": 116
  },
  "hsl": {
    "h": 225.957,
    "s": 68.116,
    "l": 27.059
  },
  "oklch": {
    "l": 0.32607,
    "c": 0.12683,
    "h": 266.3
  },
  "luminance": 0.03233
}

Semantic roles & 50–950 ramp

primary
#162C74
secondary
#AA903C
accent
#C23DEB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #162C74

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

Preview Lab → · Contrast checker → · Palette generator →

#162C74 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva