#163474#163474

#163474 is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.4% C 0.116 H 262.9°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#163474
RGBrgb(22, 52, 116)
HSLhsl(221, 68%, 27%)
HSVhsv(221, 81%, 45%)
CMYKcmyk(81%, 55.2%, 0%, 54.5%)
CIE-LABlab(23.29, 14.28, -39.99)
CIE-LCHlch(23.29, 42.47, 289.65°)
OKLaboklab(34.37% -0.0144 -0.1152)
OKLCHoklch(34.37% 0.116 262.9)
XYZxyz(4.7101, 3.8870, 17.0216)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#163474 #745616
analogous
#166374 #163474 #271674
triadic
#163474 #741634 #347416
tetradic
#163474 #741663 #745616 #167427
square
#163474 #741663 #745616 #167427
split-complementary
#163474 #742716 #637416
monochromatic
#050C1A #0C1D41 #163474 #204BA7 #2D63D7

Accessibility & contrast

On white

11.81
#163474 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#163474 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #163474
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##163474#FFFFFF#000000##FFFFFF
##1634741.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053C76
Deuteranopia (green-blind)
#003373
Tritanopia (blue-blind)
#00444E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #163474;
/* rgb */ color: rgb(22, 52, 116);
/* oklch */ color: oklch(34.4% 0.116 262.9);
Tailwind
colors: {
  custom: {
    50: '#636a9d',
    500: '#163474',
    950: '#000000',
  },
}
SCSS
$custom: #163474;
$custom-light: #636a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#163474",
  "rgb": {
    "r": 22,
    "g": 52,
    "b": 116
  },
  "hsl": {
    "h": 220.851,
    "s": 68.116,
    "l": 27.059
  },
  "oklch": {
    "l": 0.34371,
    "c": 0.11611,
    "h": 262.9
  },
  "luminance": 0.03888
}

Semantic roles & 50–950 ramp

primary
#163474
secondary
#AA873C
accent
#B33DEB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #163474

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

Preview Lab → · Contrast checker → · Palette generator →

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