#162573#162573

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

Color values

HEX#162573
RGBrgb(22, 37, 115)
HSLhsl(230, 68%, 27%)
HSVhsv(230, 81%, 45%)
CMYKcmyk(80.9%, 67.8%, 0%, 54.9%)
CIE-LABlab(18.93, 24.58, -46.46)
CIE-LCHlch(18.93, 52.56, 297.88°)
OKLaboklab(31.08% -0.0036 -0.1344)
OKLCHoklch(31.08% 0.134 268.5)
XYZxyz(4.0859, 2.7311, 16.5281)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162573 #736416
analogous
#165473 #162573 #361673
triadic
#162573 #731625 #257316
tetradic
#162573 #731654 #736416 #167336
square
#162573 #731654 #736416 #167336
split-complementary
#162573 #733616 #547316
monochromatic
#05081A #0C1440 #162573 #2036A6 #2D48D7

Accessibility & contrast

On white

13.58
#162573 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#162573 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162573
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162573#FFFFFF#000000##FFFFFF
##1625731.0013.581.5513.58
#FFFFFF13.581.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003275
Deuteranopia (green-blind)
#002A72
Tritanopia (blue-blind)
#003A48
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #162573;
/* rgb */ color: rgb(22, 37, 115);
/* oklch */ color: oklch(31.1% 0.134 268.5);
Tailwind
colors: {
  custom: {
    50: '#645f9c',
    500: '#162573',
    950: '#000000',
  },
}
SCSS
$custom: #162573;
$custom-light: #645f9c;
$custom-dark: #000000;
JSON
{
  "hex": "#162573",
  "rgb": {
    "r": 22,
    "g": 37,
    "b": 115
  },
  "hsl": {
    "h": 230.323,
    "s": 67.883,
    "l": 26.863
  },
  "oklch": {
    "l": 0.31084,
    "c": 0.13448,
    "h": 268.5
  },
  "luminance": 0.02732
}

Semantic roles & 50–950 ramp

primary
#162573
secondary
#A9973C
accent
#CF3DEB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #162573

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

Preview Lab → · Contrast checker → · Palette generator →

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