#163362#163362

#163362 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 32.7% C 0.090 H 259.6°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#163362
RGBrgb(22, 51, 98)
HSLhsl(217, 63%, 24%)
HSVhsv(217, 78%, 38%)
CMYKcmyk(77.6%, 48%, 0%, 61.6%)
CIE-LABlab(21.65, 7.45, -31.02)
CIE-LCHlch(21.65, 31.90, 283.50°)
OKLaboklab(32.69% -0.0162 -0.0888)
OKLCHoklch(32.69% 0.09 259.6)
XYZxyz(3.7185, 3.4197, 12.0170)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#163362 #624516
analogous
#165962 #163362 #1F1662
triadic
#163362 #621633 #336216
tetradic
#163362 #621659 #624516 #16621F
square
#163362 #621659 #624516 #16621F
split-complementary
#163362 #621F16 #596216
monochromatic
#060D19 #0B1930 #163362 #214D94 #2C67C6

Accessibility & contrast

On white

12.47
#163362 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#163362 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #163362
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##163362#FFFFFF#000000##FFFFFF
##1633621.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3864
Deuteranopia (green-blind)
#0C3161
Tritanopia (blue-blind)
#003E45
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #163362;
/* rgb */ color: rgb(22, 51, 98);
/* oklch */ color: oklch(32.7% 0.090 259.6);
Tailwind
colors: {
  custom: {
    50: '#5f6a8f',
    500: '#163362',
    950: '#000000',
  },
}
SCSS
$custom: #163362;
$custom-light: #5f6a8f;
$custom-dark: #000000;
JSON
{
  "hex": "#163362",
  "rgb": {
    "r": 22,
    "g": 51,
    "b": 98
  },
  "hsl": {
    "h": 217.105,
    "s": 63.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.32689,
    "c": 0.0903,
    "h": 259.6
  },
  "luminance": 0.0342
}

Semantic roles & 50–950 ramp

primary
#163362
secondary
#99753B
accent
#A741E6
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #163362

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

Preview Lab → · Contrast checker → · Palette generator →

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