#162893#162893

#162893 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.0% C 0.174 H 267.5°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#162893
RGBrgb(22, 40, 147)
HSLhsl(231, 74%, 33%)
HSVhsv(231, 85%, 58%)
CMYKcmyk(85%, 72.8%, 0%, 42.4%)
CIE-LABlab(22.98, 34.92, -59.97)
CIE-LCHlch(22.98, 69.40, 300.21°)
OKLaboklab(35.02% -0.0076 -0.1738)
OKLCHoklch(35.02% 0.174 267.5)
XYZxyz(6.3543, 3.7940, 27.9955)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162893 #938116
analogous
#166693 #162893 #421693
triadic
#162893 #931628 #289316
tetradic
#162893 #931666 #938116 #169342
square
#162893 #931666 #938116 #169342
split-complementary
#162893 #934216 #669316
monochromatic
#060B29 #0E1A5E #162893 #1E36C8 #4158E3

Accessibility & contrast

On white

11.94
#162893 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#162893 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162893
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162893#FFFFFF#000000##FFFFFF
##1628931.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D96
Deuteranopia (green-blind)
#003191
Tritanopia (blue-blind)
#00475A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #162893;
/* rgb */ color: rgb(22, 40, 147);
/* oklch */ color: oklch(35.0% 0.174 267.5);
Tailwind
colors: {
  custom: {
    50: '#6d62b4',
    500: '#162893',
    950: '#000000',
  },
}
SCSS
$custom: #162893;
$custom-light: #6d62b4;
$custom-dark: #000000;
JSON
{
  "hex": "#162893",
  "rgb": {
    "r": 22,
    "g": 40,
    "b": 147
  },
  "hsl": {
    "h": 231.36,
    "s": 73.964,
    "l": 33.137
  },
  "oklch": {
    "l": 0.3502,
    "c": 0.17401,
    "h": 267.5
  },
  "luminance": 0.03795
}

Semantic roles & 50–950 ramp

primary
#162893
secondary
#C3B042
accent
#D637F1
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#080511
muted
#7B7980

Preview Lab

Preview with #162893

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

Preview Lab → · Contrast checker → · Palette generator →

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