#162A66#162A66

#162A66 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.9% C 0.109 H 266.1°. Best body text is #FFFFFF at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#162A66
RGBrgb(22, 42, 102)
HSLhsl(225, 65%, 24%)
HSVhsv(225, 78%, 40%)
CMYKcmyk(78.4%, 58.8%, 0%, 60%)
CIE-LABlab(19.16, 15.67, -37.65)
CIE-LCHlch(19.16, 40.78, 292.60°)
OKLaboklab(30.89% -0.0073 -0.1085)
OKLCHoklch(30.89% 0.109 266.1)
XYZxyz(3.5563, 2.7854, 12.9180)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162A66 #665216
analogous
#165266 #162A66 #2A1666
triadic
#162A66 #66162A #2A6616
tetradic
#162A66 #661652 #665216 #16662A
square
#162A66 #661652 #665216 #16662A
split-complementary
#162A66 #662A16 #526616
monochromatic
#050A19 #0B1534 #162A66 #213F98 #2C53CB

Accessibility & contrast

On white

13.49
#162A66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#162A66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162A66
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162A66#FFFFFF#000000##FFFFFF
##162A661.0013.491.5613.49
#FFFFFF13.491.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003268
Deuteranopia (green-blind)
#002B65
Tritanopia (blue-blind)
#003943
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #162a66;
/* rgb */ color: rgb(22, 42, 102);
/* oklch */ color: oklch(30.9% 0.109 266.1);
Tailwind
colors: {
  custom: {
    50: '#606392',
    500: '#162a66',
    950: '#000000',
  },
}
SCSS
$custom: #162a66;
$custom-light: #606392;
$custom-dark: #000000;
JSON
{
  "hex": "#162a66",
  "rgb": {
    "r": 22,
    "g": 42,
    "b": 102
  },
  "hsl": {
    "h": 225,
    "s": 64.516,
    "l": 24.314
  },
  "oklch": {
    "l": 0.30888,
    "c": 0.10877,
    "h": 266.1
  },
  "luminance": 0.02786
}

Semantic roles & 50–950 ramp

primary
#162A66
secondary
#9D843B
accent
#BE40E8
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#05050D
muted
#7A797E

Preview Lab

Preview with #162A66

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

Preview Lab → · Contrast checker → · Palette generator →

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