#162C85#162C85

#162C85 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.3% C 0.151 H 266.8°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#162C85
RGBrgb(22, 44, 133)
HSLhsl(228, 72%, 30%)
HSVhsv(228, 83%, 52%)
CMYKcmyk(83.5%, 66.9%, 0%, 47.8%)
CIE-LABlab(22.53, 26.89, -51.99)
CIE-LCHlch(22.53, 58.54, 297.35°)
OKLaboklab(34.26% -0.0084 -0.1506)
OKLCHoklch(34.26% 0.151 266.8)
XYZxyz(5.4637, 3.6647, 22.6052)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162C85 #856F16
analogous
#166385 #162C85 #371685
triadic
#162C85 #85162C #2C8516
tetradic
#162C85 #851663 #856F16 #168537
square
#162C85 #851663 #856F16 #168537
split-complementary
#162C85 #853716 #638516
monochromatic
#05091C #0D1B50 #162C85 #1F3DBA #3758DE

Accessibility & contrast

On white

12.12
#162C85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#162C85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162C85
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162C85#FFFFFF#000000##FFFFFF
##162C851.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B88
Deuteranopia (green-blind)
#003183
Tritanopia (blue-blind)
#004454
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #162c85;
/* rgb */ color: rgb(22, 44, 133);
/* oklch */ color: oklch(34.3% 0.151 266.8);
Tailwind
colors: {
  custom: {
    50: '#6965a9',
    500: '#162c85',
    950: '#000000',
  },
}
SCSS
$custom: #162c85;
$custom-light: #6965a9;
$custom-dark: #000000;
JSON
{
  "hex": "#162c85",
  "rgb": {
    "r": 22,
    "g": 44,
    "b": 133
  },
  "hsl": {
    "h": 228.108,
    "s": 71.613,
    "l": 30.392
  },
  "oklch": {
    "l": 0.34263,
    "c": 0.15079,
    "h": 266.8
  },
  "luminance": 0.03665
}

Semantic roles & 50–950 ramp

primary
#162C85
secondary
#B9A13E
accent
#CA39EE
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070510
muted
#7A7A7F

Preview Lab

Preview with #162C85

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

Preview Lab → · Contrast checker → · Palette generator →

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