#162A75#162A75

#162A75 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.3% C 0.131 H 267.0°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#162A75
RGBrgb(22, 42, 117)
HSLhsl(227, 68%, 27%)
HSVhsv(227, 81%, 46%)
CMYKcmyk(81.2%, 64.1%, 0%, 54.1%)
CIE-LABlab(20.48, 21.86, -45.21)
CIE-LCHlch(20.48, 50.22, 295.80°)
OKLaboklab(32.28% -0.0068 -0.1307)
OKLCHoklch(32.28% 0.131 267)
XYZxyz(4.3686, 3.1104, 17.1963)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162A75 #756116
analogous
#165A75 #162A75 #311675
triadic
#162A75 #75162A #2A7516
tetradic
#162A75 #75165A #756116 #167531
square
#162A75 #75165A #756116 #167531
split-complementary
#162A75 #753116 #5A7516
monochromatic
#05091A #0C1841 #162A75 #203CA9 #2E52D8

Accessibility & contrast

On white

12.95
#162A75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#162A75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162A75
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162A75#FFFFFF#000000##FFFFFF
##162A751.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003677
Deuteranopia (green-blind)
#002D74
Tritanopia (blue-blind)
#003D4B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #162a75;
/* rgb */ color: rgb(22, 42, 117);
/* oklch */ color: oklch(32.3% 0.131 267.0);
Tailwind
colors: {
  custom: {
    50: '#64639d',
    500: '#162a75',
    950: '#000000',
  },
}
SCSS
$custom: #162a75;
$custom-light: #64639d;
$custom-dark: #000000;
JSON
{
  "hex": "#162a75",
  "rgb": {
    "r": 22,
    "g": 42,
    "b": 117
  },
  "hsl": {
    "h": 227.368,
    "s": 68.345,
    "l": 27.255
  },
  "oklch": {
    "l": 0.32284,
    "c": 0.1309,
    "h": 267
  },
  "luminance": 0.03111
}

Semantic roles & 50–950 ramp

primary
#162A75
secondary
#AB933C
accent
#C63DEB
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #162A75

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

Preview Lab → · Contrast checker → · Palette generator →

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