#162993#162993

#162993 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.2% C 0.173 H 267.4°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#162993
RGBrgb(22, 41, 147)
HSLhsl(231, 74%, 33%)
HSVhsv(231, 85%, 58%)
CMYKcmyk(85%, 72.1%, 0%, 42.4%)
CIE-LABlab(23.21, 34.28, -59.59)
CIE-LCHlch(23.21, 68.75, 299.91°)
OKLaboklab(35.19% -0.008 -0.1727)
OKLCHoklch(35.19% 0.173 267.4)
XYZxyz(6.3884, 3.8623, 28.0069)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162993 #938016
analogous
#166793 #162993 #411693
triadic
#162993 #931629 #299316
tetradic
#162993 #931667 #938016 #169341
square
#162993 #931667 #938016 #169341
split-complementary
#162993 #934116 #679316
monochromatic
#060B29 #0E1A5E #162993 #1E38C8 #4159E3

Accessibility & contrast

On white

11.85
#162993 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#162993 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162993
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162993#FFFFFF#000000##FFFFFF
##1629931.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #162993;
/* rgb */ color: rgb(22, 41, 147);
/* oklch */ color: oklch(35.2% 0.173 267.4);
Tailwind
colors: {
  custom: {
    50: '#6d63b4',
    500: '#162993',
    950: '#000000',
  },
}
SCSS
$custom: #162993;
$custom-light: #6d63b4;
$custom-dark: #000000;
JSON
{
  "hex": "#162993",
  "rgb": {
    "r": 22,
    "g": 41,
    "b": 147
  },
  "hsl": {
    "h": 230.88,
    "s": 73.964,
    "l": 33.137
  },
  "oklch": {
    "l": 0.35188,
    "c": 0.1729,
    "h": 267.4
  },
  "luminance": 0.03863
}

Semantic roles & 50–950 ramp

primary
#162993
secondary
#C3AF42
accent
#D437F1
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#080511
muted
#7B7980

Preview Lab

Preview with #162993

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

Preview Lab → · Contrast checker → · Palette generator →

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