#163181#163181

#163181 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 34.9% C 0.139 H 265.3°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#163181
RGBrgb(22, 49, 129)
HSLhsl(225, 71%, 30%)
HSVhsv(225, 83%, 51%)
CMYKcmyk(82.9%, 62%, 0%, 49.4%)
CIE-LABlab(23.51, 21.80, -47.88)
CIE-LCHlch(23.51, 52.60, 294.48°)
OKLaboklab(34.88% -0.0113 -0.1384)
OKLCHoklch(34.88% 0.139 265.3)
XYZxyz(5.3902, 3.9515, 21.2433)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#163181 #816616
analogous
#166781 #163181 #311681
triadic
#163181 #811631 #318116
tetradic
#163181 #811667 #816616 #168131
square
#163181 #811667 #816616 #168131
split-complementary
#163181 #813116 #678116
monochromatic
#040A1A #0D1D4D #163181 #1F45B5 #355FDD

Accessibility & contrast

On white

11.73
#163181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#163181 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #163181
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##163181#FFFFFF#000000##FFFFFF
##1631811.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D84
Deuteranopia (green-blind)
#00337F
Tritanopia (blue-blind)
#004554
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #163181;
/* rgb */ color: rgb(22, 49, 129);
/* oklch */ color: oklch(34.9% 0.139 265.3);
Tailwind
colors: {
  custom: {
    50: '#6768a6',
    500: '#163181',
    950: '#000000',
  },
}
SCSS
$custom: #163181;
$custom-light: #6768a6;
$custom-dark: #000000;
JSON
{
  "hex": "#163181",
  "rgb": {
    "r": 22,
    "g": 49,
    "b": 129
  },
  "hsl": {
    "h": 224.86,
    "s": 70.861,
    "l": 29.608
  },
  "oklch": {
    "l": 0.34875,
    "c": 0.1389,
    "h": 265.3
  },
  "luminance": 0.03952
}

Semantic roles & 50–950 ramp

primary
#163181
secondary
#B6973D
accent
#C03AEE
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #163181

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

Preview Lab → · Contrast checker → · Palette generator →

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