#163789#163789

#163789 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 36.9% C 0.142 H 264.0°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#163789
RGBrgb(22, 55, 137)
HSLhsl(223, 72%, 31%)
HSVhsv(223, 84%, 54%)
CMYKcmyk(83.9%, 59.9%, 0%, 46.3%)
CIE-LABlab(25.89, 20.84, -49.00)
CIE-LCHlch(25.89, 53.25, 293.04°)
OKLaboklab(36.87% -0.0149 -0.1416)
OKLCHoklch(36.87% 0.142 264)
XYZxyz(6.2108, 4.7083, 24.2435)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#163789 #896816
analogous
#167089 #163789 #2F1689
triadic
#163789 #891637 #378916
tetradic
#163789 #891670 #896816 #16892F
square
#163789 #891670 #896816 #16892F
split-complementary
#163789 #892F16 #708916
monochromatic
#050D20 #0E2254 #163789 #1E4CBE #3A69DF

Accessibility & contrast

On white

10.81
#163789 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#163789 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #163789
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##163789#FFFFFF#000000##FFFFFF
##1637891.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #163789;
/* rgb */ color: rgb(22, 55, 137);
/* oklch */ color: oklch(36.9% 0.142 264.0);
Tailwind
colors: {
  custom: {
    50: '#696dac',
    500: '#163789',
    950: '#000000',
  },
}
SCSS
$custom: #163789;
$custom-light: #696dac;
$custom-dark: #000000;
JSON
{
  "hex": "#163789",
  "rgb": {
    "r": 22,
    "g": 55,
    "b": 137
  },
  "hsl": {
    "h": 222.783,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.36869,
    "c": 0.14242,
    "h": 264
  },
  "luminance": 0.04709
}

Semantic roles & 50–950 ramp

primary
#163789
secondary
#BD983E
accent
#BB39EF
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #163789

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

Preview Lab → · Contrast checker → · Palette generator →

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