#163189#163189

#163189 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.6% C 0.150 H 265.7°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#163189
RGBrgb(22, 49, 137)
HSLhsl(226, 72%, 31%)
HSVhsv(226, 84%, 54%)
CMYKcmyk(83.9%, 64.2%, 0%, 46.3%)
CIE-LABlab(24.23, 25.03, -51.70)
CIE-LCHlch(24.23, 57.44, 295.83°)
OKLaboklab(35.64% -0.0112 -0.1496)
OKLCHoklch(35.64% 0.15 265.7)
XYZxyz(5.9430, 4.1726, 24.1542)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#163189 #896E16
analogous
#166A89 #163189 #341689
triadic
#163189 #891631 #318916
tetradic
#163189 #89166A #896E16 #168934
square
#163189 #89166A #896E16 #168934
split-complementary
#163189 #893416 #6A8916
monochromatic
#050B20 #0E1E54 #163189 #1E44BE #3A61DF

Accessibility & contrast

On white

11.45
#163189 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#163189 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #163189
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##163189#FFFFFF#000000##FFFFFF
##1631891.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8C
Deuteranopia (green-blind)
#003487
Tritanopia (blue-blind)
#004858
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #163189;
/* rgb */ color: rgb(22, 49, 137);
/* oklch */ color: oklch(35.6% 0.150 265.7);
Tailwind
colors: {
  custom: {
    50: '#6968ac',
    500: '#163189',
    950: '#000000',
  },
}
SCSS
$custom: #163189;
$custom-light: #6968ac;
$custom-dark: #000000;
JSON
{
  "hex": "#163189",
  "rgb": {
    "r": 22,
    "g": 49,
    "b": 137
  },
  "hsl": {
    "h": 225.913,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.35636,
    "c": 0.15007,
    "h": 265.7
  },
  "luminance": 0.04173
}

Semantic roles & 50–950 ramp

primary
#163189
secondary
#BD9F3E
accent
#C439EF
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #163189

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

Preview Lab → · Contrast checker → · Palette generator →

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