#163874#163874

#163874 is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.3% C 0.111 H 260.8°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#163874
RGBrgb(22, 56, 116)
HSLhsl(218, 68%, 27%)
HSVhsv(218, 81%, 45%)
CMYKcmyk(81%, 51.7%, 0%, 54.5%)
CIE-LABlab(24.51, 11.43, -38.02)
CIE-LCHlch(24.51, 39.70, 286.73°)
OKLaboklab(35.3% -0.0177 -0.1093)
OKLCHoklch(35.3% 0.111 260.8)
XYZxyz(4.8963, 4.2593, 17.0837)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#163874 #745216
analogous
#166774 #163874 #231674
triadic
#163874 #741638 #387416
tetradic
#163874 #741667 #745216 #167423
square
#163874 #741667 #745216 #167423
split-complementary
#163874 #742316 #677416
monochromatic
#050C1A #0C1F41 #163874 #2051A7 #2D6BD7

Accessibility & contrast

On white

11.34
#163874 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#163874 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #163874
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##163874#FFFFFF#000000##FFFFFF
##1638741.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143F76
Deuteranopia (green-blind)
#003673
Tritanopia (blue-blind)
#004650
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #163874;
/* rgb */ color: rgb(22, 56, 116);
/* oklch */ color: oklch(35.3% 0.111 260.8);
Tailwind
colors: {
  custom: {
    50: '#636e9c',
    500: '#163874',
    950: '#000000',
  },
}
SCSS
$custom: #163874;
$custom-light: #636e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#163874",
  "rgb": {
    "r": 22,
    "g": 56,
    "b": 116
  },
  "hsl": {
    "h": 218.298,
    "s": 68.116,
    "l": 27.059
  },
  "oklch": {
    "l": 0.35299,
    "c": 0.11077,
    "h": 260.8
  },
  "luminance": 0.0426
}

Semantic roles & 50–950 ramp

primary
#163874
secondary
#AA823C
accent
#AC3DEB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #163874

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

Preview Lab → · Contrast checker → · Palette generator →

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