#163774#163774

#163774 is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.1% C 0.112 H 261.4°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#163774
RGBrgb(22, 55, 116)
HSLhsl(219, 68%, 27%)
HSVhsv(219, 81%, 45%)
CMYKcmyk(81%, 52.6%, 0%, 54.5%)
CIE-LABlab(24.20, 12.14, -38.52)
CIE-LCHlch(24.20, 40.39, 287.49°)
OKLaboklab(35.07% -0.0169 -0.1108)
OKLCHoklch(35.07% 0.112 261.4)
XYZxyz(4.8483, 4.1633, 17.0677)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#163774 #745316
analogous
#166674 #163774 #241674
triadic
#163774 #741637 #377416
tetradic
#163774 #741666 #745316 #167424
square
#163774 #741666 #745316 #167424
split-complementary
#163774 #742416 #667416
monochromatic
#050C1A #0C1F41 #163774 #204FA7 #2D69D7

Accessibility & contrast

On white

11.46
#163774 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#163774 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #163774
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##163774#FFFFFF#000000##FFFFFF
##1637741.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113E76
Deuteranopia (green-blind)
#003573
Tritanopia (blue-blind)
#004650
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #163774;
/* rgb */ color: rgb(22, 55, 116);
/* oklch */ color: oklch(35.1% 0.112 261.4);
Tailwind
colors: {
  custom: {
    50: '#636d9c',
    500: '#163774',
    950: '#000000',
  },
}
SCSS
$custom: #163774;
$custom-light: #636d9c;
$custom-dark: #000000;
JSON
{
  "hex": "#163774",
  "rgb": {
    "r": 22,
    "g": 55,
    "b": 116
  },
  "hsl": {
    "h": 218.936,
    "s": 68.116,
    "l": 27.059
  },
  "oklch": {
    "l": 0.35065,
    "c": 0.11211,
    "h": 261.4
  },
  "luminance": 0.04164
}

Semantic roles & 50–950 ramp

primary
#163774
secondary
#AA833C
accent
#AE3DEB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #163774

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

Preview Lab → · Contrast checker → · Palette generator →

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