#163368#163368

#163368 is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.2% C 0.099 H 261.2°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#163368
RGBrgb(22, 51, 104)
HSLhsl(219, 65%, 25%)
HSVhsv(219, 79%, 41%)
CMYKcmyk(78.8%, 51%, 0%, 59.2%)
CIE-LABlab(22.08, 9.97, -34.24)
CIE-LCHlch(22.08, 35.66, 286.23°)
OKLaboklab(33.15% -0.0151 -0.0983)
OKLCHoklch(33.15% 0.099 261.2)
XYZxyz(4.0125, 3.5373, 13.5653)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#163368 #684B16
analogous
#165C68 #163368 #221668
triadic
#163368 #681633 #336816
tetradic
#163368 #68165C #684B16 #166822
square
#163368 #68165C #684B16 #166822
split-complementary
#163368 #682216 #5C6816
monochromatic
#050C19 #0B1A35 #163368 #214C9B #2B65CD

Accessibility & contrast

On white

12.30
#163368 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#163368 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #163368
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##163368#FFFFFF#000000##FFFFFF
##1633681.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15396A
Deuteranopia (green-blind)
#003167
Tritanopia (blue-blind)
#004048
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #163368;
/* rgb */ color: rgb(22, 51, 104);
/* oklch */ color: oklch(33.2% 0.099 261.2);
Tailwind
colors: {
  custom: {
    50: '#606a93',
    500: '#163368',
    950: '#000000',
  },
}
SCSS
$custom: #163368;
$custom-light: #606a93;
$custom-dark: #000000;
JSON
{
  "hex": "#163368",
  "rgb": {
    "r": 22,
    "g": 51,
    "b": 104
  },
  "hsl": {
    "h": 218.78,
    "s": 65.079,
    "l": 24.706
  },
  "oklch": {
    "l": 0.33154,
    "c": 0.09947,
    "h": 261.2
  },
  "luminance": 0.03538
}

Semantic roles & 50–950 ramp

primary
#163368
secondary
#9F7B3B
accent
#AD40E8
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#05060D
muted
#7A7A7E

Preview Lab

Preview with #163368

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

Preview Lab → · Contrast checker → · Palette generator →

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