#162FB4#162FB4

#162FB4 is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 39.8% C 0.208 H 266.4°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#162FB4
RGBrgb(22, 47, 180)
HSLhsl(231, 78%, 40%)
HSVhsv(231, 88%, 71%)
CMYKcmyk(87.8%, 73.9%, 0%, 29.4%)
CIE-LABlab(28.11, 42.59, -71.51)
CIE-LCHlch(28.11, 83.23, 300.78°)
OKLaboklab(39.76% -0.0131 -0.2074)
OKLCHoklch(39.76% 0.208 266.4)
XYZxyz(9.5827, 5.4977, 43.7273)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162FB4 #B49B16
analogous
#167EB4 #162FB4 #4C16B4
triadic
#162FB4 #B4162F #2FB416
tetradic
#162FB4 #B4167E #B49B16 #16B44C
square
#162FB4 #B4167E #B49B16 #16B44C
split-complementary
#162FB4 #B44C16 #7EB416
monochromatic
#091347 #0F217D #162FB4 #2342E4 #5A71EB

Accessibility & contrast

On white

10.00
#162FB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#162FB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162FB4
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162FB4#FFFFFF#000000##FFFFFF
##162FB41.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB8
Deuteranopia (green-blind)
#003AB2
Tritanopia (blue-blind)
#00566F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #162fb4;
/* rgb */ color: rgb(22, 47, 180);
/* oklch */ color: oklch(39.8% 0.208 266.4);
Tailwind
colors: {
  custom: {
    50: '#7668cc',
    500: '#162fb4',
    950: '#000000',
  },
}
SCSS
$custom: #162fb4;
$custom-light: #7668cc;
$custom-dark: #000000;
JSON
{
  "hex": "#162fb4",
  "rgb": {
    "r": 22,
    "g": 47,
    "b": 180
  },
  "hsl": {
    "h": 230.506,
    "s": 78.218,
    "l": 39.608
  },
  "oklch": {
    "l": 0.39764,
    "c": 0.20778,
    "h": 266.4
  },
  "luminance": 0.05499
}

Semantic roles & 50–950 ramp

primary
#162FB4
secondary
#CEBB58
accent
#D633F5
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #162FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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