#162272#162272

#162272 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.4% C 0.137 H 269.3°. Best body text is #FFFFFF at 13.94:1 contrast (WCAG AA passes).

Color values

HEX#162272
RGBrgb(22, 34, 114)
HSLhsl(232, 68%, 27%)
HSVhsv(232, 81%, 45%)
CMYKcmyk(80.7%, 70.2%, 0%, 55.3%)
CIE-LABlab(18.05, 26.26, -47.26)
CIE-LCHlch(18.05, 54.07, 299.06°)
OKLaboklab(30.41% -0.0017 -0.1368)
OKLCHoklch(30.41% 0.137 269.3)
XYZxyz(3.9391, 2.5291, 16.1969)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162272 #726616
analogous
#165072 #162272 #381672
triadic
#162272 #721622 #227216
tetradic
#162272 #721650 #726616 #167238
square
#162272 #721650 #726616 #167238
split-complementary
#162272 #723816 #507216
monochromatic
#05081A #0C133F #162272 #2031A5 #2C42D6

Accessibility & contrast

On white

13.94
#162272 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#162272 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162272
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162272#FFFFFF#000000##FFFFFF
##1622721.0013.941.5113.94
#FFFFFF13.941.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003174
Deuteranopia (green-blind)
#002871
Tritanopia (blue-blind)
#003847
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #162272;
/* rgb */ color: rgb(22, 34, 114);
/* oklch */ color: oklch(30.4% 0.137 269.3);
Tailwind
colors: {
  custom: {
    50: '#645d9b',
    500: '#162272',
    950: '#000000',
  },
}
SCSS
$custom: #162272;
$custom-light: #645d9b;
$custom-dark: #000000;
JSON
{
  "hex": "#162272",
  "rgb": {
    "r": 22,
    "g": 34,
    "b": 114
  },
  "hsl": {
    "h": 232.174,
    "s": 67.647,
    "l": 26.667
  },
  "oklch": {
    "l": 0.30407,
    "c": 0.13682,
    "h": 269.3
  },
  "luminance": 0.0253
}

Semantic roles & 50–950 ramp

primary
#162272
secondary
#A89A3C
accent
#D43DEB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #162272

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

Preview Lab → · Contrast checker → · Palette generator →

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