#163281#163281

#163281 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.1% C 0.138 H 265.0°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#163281
RGBrgb(22, 50, 129)
HSLhsl(224, 71%, 30%)
HSVhsv(224, 83%, 51%)
CMYKcmyk(82.9%, 61.2%, 0%, 49.4%)
CIE-LABlab(23.79, 21.09, -47.42)
CIE-LCHlch(23.79, 51.90, 293.98°)
OKLaboklab(35.08% -0.012 -0.1371)
OKLCHoklch(35.08% 0.138 265)
XYZxyz(5.4325, 4.0361, 21.2574)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#163281 #816516
analogous
#166881 #163281 #301681
triadic
#163281 #811632 #328116
tetradic
#163281 #811668 #816516 #168130
square
#163281 #811668 #816516 #168130
split-complementary
#163281 #813016 #688116
monochromatic
#040A1A #0D1E4D #163281 #1F46B5 #3561DD

Accessibility & contrast

On white

11.62
#163281 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#163281 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #163281
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##163281#FFFFFF#000000##FFFFFF
##1632811.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #163281;
/* rgb */ color: rgb(22, 50, 129);
/* oklch */ color: oklch(35.1% 0.138 265.0);
Tailwind
colors: {
  custom: {
    50: '#6769a6',
    500: '#163281',
    950: '#000000',
  },
}
SCSS
$custom: #163281;
$custom-light: #6769a6;
$custom-dark: #000000;
JSON
{
  "hex": "#163281",
  "rgb": {
    "r": 22,
    "g": 50,
    "b": 129
  },
  "hsl": {
    "h": 224.299,
    "s": 70.861,
    "l": 29.608
  },
  "oklch": {
    "l": 0.35084,
    "c": 0.1376,
    "h": 265
  },
  "luminance": 0.04037
}

Semantic roles & 50–950 ramp

primary
#163281
secondary
#B6963D
accent
#BF3AEE
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #163281

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

Preview Lab → · Contrast checker → · Palette generator →

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