#163893#163893

#163893 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.0% C 0.155 H 264.4°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#163893
RGBrgb(22, 56, 147)
HSLhsl(224, 74%, 33%)
HSVhsv(224, 85%, 58%)
CMYKcmyk(85%, 61.9%, 0%, 42.4%)
CIE-LABlab(27.03, 24.20, -53.32)
CIE-LCHlch(27.03, 58.55, 294.42°)
OKLaboklab(37.99% -0.0151 -0.1543)
OKLCHoklch(37.99% 0.155 264.4)
XYZxyz(7.0096, 5.1046, 28.2140)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#163893 #937116
analogous
#167693 #163893 #321693
triadic
#163893 #931638 #389316
tetradic
#163893 #931676 #937116 #169332
square
#163893 #931676 #937116 #169332
split-complementary
#163893 #933216 #769316
monochromatic
#060F29 #0E245E #163893 #1E4CC8 #416DE3

Accessibility & contrast

On white

10.39
#163893 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#163893 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #163893
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##163893#FFFFFF#000000##FFFFFF
##1638931.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004696
Deuteranopia (green-blind)
#003A91
Tritanopia (blue-blind)
#005060
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #163893;
/* rgb */ color: rgb(22, 56, 147);
/* oklch */ color: oklch(38.0% 0.155 264.4);
Tailwind
colors: {
  custom: {
    50: '#6c6eb4',
    500: '#163893',
    950: '#000000',
  },
}
SCSS
$custom: #163893;
$custom-light: #6c6eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#163893",
  "rgb": {
    "r": 22,
    "g": 56,
    "b": 147
  },
  "hsl": {
    "h": 223.68,
    "s": 73.964,
    "l": 33.137
  },
  "oklch": {
    "l": 0.37994,
    "c": 0.15502,
    "h": 264.4
  },
  "luminance": 0.05106
}

Semantic roles & 50–950 ramp

primary
#163893
secondary
#C3A042
accent
#BE37F1
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #163893

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

Preview Lab → · Contrast checker → · Palette generator →

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