#162583#162583

#162583 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.8% C 0.156 H 268.3°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#162583
RGBrgb(22, 37, 131)
HSLhsl(232, 71%, 30%)
HSVhsv(232, 83%, 51%)
CMYKcmyk(83.2%, 71.8%, 0%, 48.6%)
CIE-LABlab(20.56, 30.83, -53.97)
CIE-LCHlch(20.56, 62.16, 299.74°)
OKLaboklab(32.77% -0.0048 -0.1564)
OKLCHoklch(32.77% 0.156 268.3)
XYZxyz(5.0878, 3.1318, 21.8047)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162583 #837416
analogous
#165C83 #162583 #3D1683
triadic
#162583 #831625 #258316
tetradic
#162583 #83165C #837416 #16833D
square
#162583 #83165C #837416 #16833D
split-complementary
#162583 #833D16 #5C8316
monochromatic
#04071A #0D164F #162583 #1F34B7 #364DDD

Accessibility & contrast

On white

12.91
#162583 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#162583 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162583
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162583#FFFFFF#000000##FFFFFF
##1625831.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003786
Deuteranopia (green-blind)
#002C81
Tritanopia (blue-blind)
#003F51
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #162583;
/* rgb */ color: rgb(22, 37, 131);
/* oklch */ color: oklch(32.8% 0.156 268.3);
Tailwind
colors: {
  custom: {
    50: '#6960a8',
    500: '#162583',
    950: '#000000',
  },
}
SCSS
$custom: #162583;
$custom-light: #6960a8;
$custom-dark: #000000;
JSON
{
  "hex": "#162583",
  "rgb": {
    "r": 22,
    "g": 37,
    "b": 131
  },
  "hsl": {
    "h": 231.743,
    "s": 71.242,
    "l": 30
  },
  "oklch": {
    "l": 0.32767,
    "c": 0.15643,
    "h": 268.3
  },
  "luminance": 0.03132
}

Semantic roles & 50–950 ramp

primary
#162583
secondary
#B7A73D
accent
#D53AEE
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#070410
muted
#7A797F

Preview Lab

Preview with #162583

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

Preview Lab → · Contrast checker → · Palette generator →

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