#163374#163374

#163374 is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.1% C 0.117 H 263.4°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#163374
RGBrgb(22, 51, 116)
HSLhsl(221, 68%, 27%)
HSVhsv(221, 81%, 45%)
CMYKcmyk(81%, 56%, 0%, 54.5%)
CIE-LABlab(22.99, 15.00, -40.48)
CIE-LCHlch(22.99, 43.17, 290.33°)
OKLaboklab(34.14% -0.0135 -0.1167)
OKLCHoklch(34.14% 0.117 263.4)
XYZxyz(4.6660, 3.7986, 17.0069)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#163374 #745716
analogous
#166274 #163374 #281674
triadic
#163374 #741633 #337416
tetradic
#163374 #741662 #745716 #167428
square
#163374 #741662 #745716 #167428
split-complementary
#163374 #742816 #627416
monochromatic
#050B1A #0C1C41 #163374 #204AA7 #2D62D7

Accessibility & contrast

On white

11.93
#163374 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#163374 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #163374
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##163374#FFFFFF#000000##FFFFFF
##1633741.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013B76
Deuteranopia (green-blind)
#003373
Tritanopia (blue-blind)
#00434E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #163374;
/* rgb */ color: rgb(22, 51, 116);
/* oklch */ color: oklch(34.1% 0.117 263.4);
Tailwind
colors: {
  custom: {
    50: '#636a9d',
    500: '#163374',
    950: '#000000',
  },
}
SCSS
$custom: #163374;
$custom-light: #636a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#163374",
  "rgb": {
    "r": 22,
    "g": 51,
    "b": 116
  },
  "hsl": {
    "h": 221.489,
    "s": 68.116,
    "l": 27.059
  },
  "oklch": {
    "l": 0.34144,
    "c": 0.11745,
    "h": 263.4
  },
  "luminance": 0.03799
}

Semantic roles & 50–950 ramp

primary
#163374
secondary
#AA883C
accent
#B53DEB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #163374

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

Preview Lab → · Contrast checker → · Palette generator →

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