#163FA1#163FA1

#163FA1 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.7% C 0.165 H 263.5°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#163FA1
RGBrgb(22, 63, 161)
HSLhsl(222, 76%, 36%)
HSVhsv(222, 86%, 63%)
CMYKcmyk(86.3%, 60.9%, 0%, 36.9%)
CIE-LABlab(30.15, 25.01, -56.75)
CIE-LCHlch(30.15, 62.01, 293.78°)
OKLaboklab(40.7% -0.0187 -0.1642)
OKLCHoklch(40.7% 0.165 263.5)
XYZxyz(8.5391, 6.2977, 34.4768)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#163FA1 #A17816
analogous
#1684A1 #163FA1 #3216A1
triadic
#163FA1 #A1163F #3FA116
tetradic
#163FA1 #A11684 #A17816 #16A132
square
#163FA1 #A11684 #A17816 #16A132
split-complementary
#163FA1 #A13216 #84A116
monochromatic
#071535 #0F2A6B #163FA1 #1D54D7 #4B79E6

Accessibility & contrast

On white

9.29
#163FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#163FA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #163FA1
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##163FA1#FFFFFF#000000##FFFFFF
##163FA11.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA4
Deuteranopia (green-blind)
#00419F
Tritanopia (blue-blind)
#00586A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #163fa1;
/* rgb */ color: rgb(22, 63, 161);
/* oklch */ color: oklch(40.7% 0.165 263.5);
Tailwind
colors: {
  custom: {
    50: '#6f73be',
    500: '#163fa1',
    950: '#000000',
  },
}
SCSS
$custom: #163fa1;
$custom-light: #6f73be;
$custom-dark: #000000;
JSON
{
  "hex": "#163fa1",
  "rgb": {
    "r": 22,
    "g": 63,
    "b": 161
  },
  "hsl": {
    "h": 222.302,
    "s": 75.956,
    "l": 35.882
  },
  "oklch": {
    "l": 0.40702,
    "c": 0.16529,
    "h": 263.5
  },
  "luminance": 0.06299
}

Semantic roles & 50–950 ramp

primary
#163FA1
secondary
#C8A34B
accent
#BB35F3
background
#F7F6FB
surface
#EDECF7
border
#C8C7D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #163FA1

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

Preview Lab → · Contrast checker → · Palette generator →

#163FA1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva