#163781#163781

#163781 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.2% C 0.131 H 263.2°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#163781
RGBrgb(22, 55, 129)
HSLhsl(221, 71%, 30%)
HSVhsv(221, 83%, 51%)
CMYKcmyk(82.9%, 57.4%, 0%, 49.4%)
CIE-LABlab(25.22, 17.55, -45.09)
CIE-LCHlch(25.22, 48.39, 291.27°)
OKLaboklab(36.16% -0.0154 -0.1301)
OKLCHoklch(36.16% 0.131 263.2)
XYZxyz(5.6581, 4.4873, 21.3325)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#163781 #816016
analogous
#166D81 #163781 #2A1681
triadic
#163781 #811637 #378116
tetradic
#163781 #81166D #816016 #16812A
square
#163781 #81166D #816016 #16812A
split-complementary
#163781 #812A16 #6D8116
monochromatic
#040B1A #0D214D #163781 #1F4DB5 #3569DD

Accessibility & contrast

On white

11.07
#163781 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#163781 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #163781
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##163781#FFFFFF#000000##FFFFFF
##1637811.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004184
Deuteranopia (green-blind)
#003780
Tritanopia (blue-blind)
#004956
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #163781;
/* rgb */ color: rgb(22, 55, 129);
/* oklch */ color: oklch(36.2% 0.131 263.2);
Tailwind
colors: {
  custom: {
    50: '#676da6',
    500: '#163781',
    950: '#000000',
  },
}
SCSS
$custom: #163781;
$custom-light: #676da6;
$custom-dark: #000000;
JSON
{
  "hex": "#163781",
  "rgb": {
    "r": 22,
    "g": 55,
    "b": 129
  },
  "hsl": {
    "h": 221.495,
    "s": 70.861,
    "l": 29.608
  },
  "oklch": {
    "l": 0.36159,
    "c": 0.13106,
    "h": 263.2
  },
  "luminance": 0.04488
}

Semantic roles & 50–950 ramp

primary
#163781
secondary
#B6903D
accent
#B63AEE
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #163781

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

Preview Lab → · Contrast checker → · Palette generator →

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