#163974#163974

#163974 is a dark, moderate blue. Relative luminance 0.044; OKLCH L 35.5% C 0.109 H 260.2°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#163974
RGBrgb(22, 57, 116)
HSLhsl(218, 68%, 27%)
HSVhsv(218, 81%, 45%)
CMYKcmyk(81%, 50.9%, 0%, 54.5%)
CIE-LABlab(24.82, 10.72, -37.53)
CIE-LCHlch(24.82, 39.03, 285.94°)
OKLaboklab(35.53% -0.0186 -0.1079)
OKLCHoklch(35.53% 0.109 260.2)
XYZxyz(4.9452, 4.3572, 17.1000)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#163974 #745116
analogous
#166874 #163974 #221674
triadic
#163974 #741639 #397416
tetradic
#163974 #741668 #745116 #167422
square
#163974 #741668 #745116 #167422
split-complementary
#163974 #742216 #687416
monochromatic
#050D1A #0C2041 #163974 #2052A7 #2D6CD7

Accessibility & contrast

On white

11.22
#163974 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#163974 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #163974
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##163974#FFFFFF#000000##FFFFFF
##1639741.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173F76
Deuteranopia (green-blind)
#003773
Tritanopia (blue-blind)
#004751
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #163974;
/* rgb */ color: rgb(22, 57, 116);
/* oklch */ color: oklch(35.5% 0.109 260.2);
Tailwind
colors: {
  custom: {
    50: '#636e9c',
    500: '#163974',
    950: '#000000',
  },
}
SCSS
$custom: #163974;
$custom-light: #636e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#163974",
  "rgb": {
    "r": 22,
    "g": 57,
    "b": 116
  },
  "hsl": {
    "h": 217.66,
    "s": 68.116,
    "l": 27.059
  },
  "oklch": {
    "l": 0.35535,
    "c": 0.10945,
    "h": 260.2
  },
  "luminance": 0.04358
}

Semantic roles & 50–950 ramp

primary
#163974
secondary
#AA813C
accent
#AA3DEB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #163974

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

Preview Lab → · Contrast checker → · Palette generator →

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