#163AA1#163AA1

#163AA1 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.7% C 0.171 H 264.6°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#163AA1
RGBrgb(22, 58, 161)
HSLhsl(224, 76%, 36%)
HSVhsv(224, 86%, 63%)
CMYKcmyk(86.3%, 64%, 0%, 36.9%)
CIE-LABlab(28.82, 28.41, -58.92)
CIE-LCHlch(28.82, 65.41, 295.74°)
OKLaboklab(39.71% -0.016 -0.1707)
OKLCHoklch(39.71% 0.171 264.6)
XYZxyz(8.2747, 5.7689, 34.3887)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#163AA1 #A17D16
analogous
#167FA1 #163AA1 #3716A1
triadic
#163AA1 #A1163A #3AA116
tetradic
#163AA1 #A1167F #A17D16 #16A137
square
#163AA1 #A1167F #A17D16 #16A137
split-complementary
#163AA1 #A13716 #7FA116
monochromatic
#071335 #0F276B #163AA1 #1D4DD7 #4B73E6

Accessibility & contrast

On white

9.75
#163AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#163AA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #163AA1
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##163AA1#FFFFFF#000000##FFFFFF
##163AA11.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA4
Deuteranopia (green-blind)
#003E9F
Tritanopia (blue-blind)
#005568
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #163aa1;
/* rgb */ color: rgb(22, 58, 161);
/* oklch */ color: oklch(39.7% 0.171 264.6);
Tailwind
colors: {
  custom: {
    50: '#6f6fbe',
    500: '#163aa1',
    950: '#000000',
  },
}
SCSS
$custom: #163aa1;
$custom-light: #6f6fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#163aa1",
  "rgb": {
    "r": 22,
    "g": 58,
    "b": 161
  },
  "hsl": {
    "h": 224.46,
    "s": 75.956,
    "l": 35.882
  },
  "oklch": {
    "l": 0.39712,
    "c": 0.17142,
    "h": 264.6
  },
  "luminance": 0.0577
}

Semantic roles & 50–950 ramp

primary
#163AA1
secondary
#C8A84B
accent
#C235F3
background
#F7F6FB
surface
#EDECF7
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #163AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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