#163889#163889

#163889 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.1% C 0.141 H 263.7°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#163889
RGBrgb(22, 56, 137)
HSLhsl(222, 72%, 31%)
HSVhsv(222, 84%, 54%)
CMYKcmyk(83.9%, 59.1%, 0%, 46.3%)
CIE-LABlab(26.17, 20.14, -48.54)
CIE-LCHlch(26.17, 52.55, 292.54°)
OKLaboklab(37.08% -0.0155 -0.1403)
OKLCHoklch(37.08% 0.141 263.7)
XYZxyz(6.2588, 4.8043, 24.2595)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#163889 #896716
analogous
#167189 #163889 #2D1689
triadic
#163889 #891638 #388916
tetradic
#163889 #891671 #896716 #16892D
square
#163889 #891671 #896716 #16892D
split-complementary
#163889 #892D16 #718916
monochromatic
#050D20 #0E2254 #163889 #1E4EBE #3A6BDF

Accessibility & contrast

On white

10.71
#163889 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#163889 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #163889
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##163889#FFFFFF#000000##FFFFFF
##1638891.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438C
Deuteranopia (green-blind)
#003987
Tritanopia (blue-blind)
#004C5A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #163889;
/* rgb */ color: rgb(22, 56, 137);
/* oklch */ color: oklch(37.1% 0.141 263.7);
Tailwind
colors: {
  custom: {
    50: '#696eac',
    500: '#163889',
    950: '#000000',
  },
}
SCSS
$custom: #163889;
$custom-light: #696eac;
$custom-dark: #000000;
JSON
{
  "hex": "#163889",
  "rgb": {
    "r": 22,
    "g": 56,
    "b": 137
  },
  "hsl": {
    "h": 222.261,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.37081,
    "c": 0.14113,
    "h": 263.7
  },
  "luminance": 0.04805
}

Semantic roles & 50–950 ramp

primary
#163889
secondary
#BD973E
accent
#B939EF
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #163889

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

Preview Lab → · Contrast checker → · Palette generator →

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