#162793#162793

#162793 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.9% C 0.175 H 267.6°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#162793
RGBrgb(22, 39, 147)
HSLhsl(232, 74%, 33%)
HSVhsv(232, 85%, 58%)
CMYKcmyk(85%, 73.5%, 0%, 42.4%)
CIE-LABlab(22.75, 35.55, -60.35)
CIE-LCHlch(22.75, 70.04, 300.50°)
OKLaboklab(34.86% -0.0072 -0.1749)
OKLCHoklch(34.86% 0.175 267.6)
XYZxyz(6.3210, 3.7274, 27.9844)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162793 #938216
analogous
#166593 #162793 #431693
triadic
#162793 #931627 #279316
tetradic
#162793 #931665 #938216 #169343
square
#162793 #931665 #938216 #169343
split-complementary
#162793 #934316 #659316
monochromatic
#060B29 #0E195E #162793 #1E35C8 #4157E3

Accessibility & contrast

On white

12.03
#162793 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#162793 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162793
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162793#FFFFFF#000000##FFFFFF
##1627931.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C96
Deuteranopia (green-blind)
#003091
Tritanopia (blue-blind)
#00465A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #162793;
/* rgb */ color: rgb(22, 39, 147);
/* oklch */ color: oklch(34.9% 0.175 267.6);
Tailwind
colors: {
  custom: {
    50: '#6d62b4',
    500: '#162793',
    950: '#000000',
  },
}
SCSS
$custom: #162793;
$custom-light: #6d62b4;
$custom-dark: #000000;
JSON
{
  "hex": "#162793",
  "rgb": {
    "r": 22,
    "g": 39,
    "b": 147
  },
  "hsl": {
    "h": 231.84,
    "s": 73.964,
    "l": 33.137
  },
  "oklch": {
    "l": 0.34855,
    "c": 0.17508,
    "h": 267.6
  },
  "luminance": 0.03728
}

Semantic roles & 50–950 ramp

primary
#162793
secondary
#C3B142
accent
#D737F1
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #162793

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

Preview Lab → · Contrast checker → · Palette generator →

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