#162572#162572

#162572 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.0% C 0.133 H 268.5°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#162572
RGBrgb(22, 37, 114)
HSLhsl(230, 68%, 27%)
HSVhsv(230, 81%, 45%)
CMYKcmyk(80.7%, 67.5%, 0%, 55.3%)
CIE-LABlab(18.84, 24.18, -45.98)
CIE-LCHlch(18.84, 51.95, 297.74°)
OKLaboklab(30.98% -0.0035 -0.133)
OKLCHoklch(30.98% 0.133 268.5)
XYZxyz(4.0287, 2.7082, 16.2267)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162572 #726316
analogous
#165372 #162572 #351672
triadic
#162572 #721625 #257216
tetradic
#162572 #721653 #726316 #167235
square
#162572 #721653 #726316 #167235
split-complementary
#162572 #723516 #537216
monochromatic
#05081A #0C143F #162572 #2036A5 #2C48D6

Accessibility & contrast

On white

13.62
#162572 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#162572 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162572
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162572#FFFFFF#000000##FFFFFF
##1625721.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003274
Deuteranopia (green-blind)
#002A71
Tritanopia (blue-blind)
#003948
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #162572;
/* rgb */ color: rgb(22, 37, 114);
/* oklch */ color: oklch(31.0% 0.133 268.5);
Tailwind
colors: {
  custom: {
    50: '#645f9b',
    500: '#162572',
    950: '#000000',
  },
}
SCSS
$custom: #162572;
$custom-light: #645f9b;
$custom-dark: #000000;
JSON
{
  "hex": "#162572",
  "rgb": {
    "r": 22,
    "g": 37,
    "b": 114
  },
  "hsl": {
    "h": 230.217,
    "s": 67.647,
    "l": 26.667
  },
  "oklch": {
    "l": 0.30982,
    "c": 0.13307,
    "h": 268.5
  },
  "luminance": 0.02709
}

Semantic roles & 50–950 ramp

primary
#162572
secondary
#A8963C
accent
#CE3DEB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #162572

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

Preview Lab → · Contrast checker → · Palette generator →

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