#163381#163381

#163381 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.3% C 0.136 H 264.7°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#163381
RGBrgb(22, 51, 129)
HSLhsl(224, 71%, 30%)
HSVhsv(224, 83%, 51%)
CMYKcmyk(82.9%, 60.5%, 0%, 49.4%)
CIE-LABlab(24.07, 20.38, -46.96)
CIE-LCHlch(24.07, 51.19, 293.46°)
OKLaboklab(35.3% -0.0126 -0.1357)
OKLCHoklch(35.3% 0.136 264.7)
XYZxyz(5.4757, 4.1226, 21.2718)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#163381 #816416
analogous
#166981 #163381 #2E1681
triadic
#163381 #811633 #338116
tetradic
#163381 #811669 #816416 #16812E
square
#163381 #811669 #816416 #16812E
split-complementary
#163381 #812E16 #698116
monochromatic
#040A1A #0D1E4D #163381 #1F48B5 #3562DD

Accessibility & contrast

On white

11.51
#163381 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#163381 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #163381
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##163381#FFFFFF#000000##FFFFFF
##1633811.0011.511.8211.51
#FFFFFF11.511.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E84
Deuteranopia (green-blind)
#00347F
Tritanopia (blue-blind)
#004754
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #163381;
/* rgb */ color: rgb(22, 51, 129);
/* oklch */ color: oklch(35.3% 0.136 264.7);
Tailwind
colors: {
  custom: {
    50: '#676aa6',
    500: '#163381',
    950: '#000000',
  },
}
SCSS
$custom: #163381;
$custom-light: #676aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#163381",
  "rgb": {
    "r": 22,
    "g": 51,
    "b": 129
  },
  "hsl": {
    "h": 223.738,
    "s": 70.861,
    "l": 29.608
  },
  "oklch": {
    "l": 0.35295,
    "c": 0.13631,
    "h": 264.7
  },
  "luminance": 0.04123
}

Semantic roles & 50–950 ramp

primary
#163381
secondary
#B6953D
accent
#BD3AEE
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #163381

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

Preview Lab → · Contrast checker → · Palette generator →

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