#163370#163370

#163370 is a dark, moderate blue. Relative luminance 0.037; OKLCH L 33.8% C 0.112 H 262.8°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#163370
RGBrgb(22, 51, 112)
HSLhsl(221, 67%, 26%)
HSVhsv(221, 80%, 44%)
CMYKcmyk(80.4%, 54.5%, 0%, 56.1%)
CIE-LABlab(22.68, 13.33, -38.43)
CIE-LCHlch(22.68, 40.67, 289.13°)
OKLaboklab(33.81% -0.014 -0.1106)
OKLCHoklch(33.81% 0.112 262.8)
XYZxyz(4.4383, 3.7076, 15.8078)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#163370 #705316
analogous
#166070 #163370 #261670
triadic
#163370 #701633 #337016
tetradic
#163370 #701660 #705316 #167026
square
#163370 #701660 #705316 #167026
split-complementary
#163370 #702616 #607016
monochromatic
#050C1A #0C1C3D #163370 #204AA3 #2B62D5

Accessibility & contrast

On white

12.06
#163370 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#163370 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #163370
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##163370#FFFFFF#000000##FFFFFF
##1633701.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093B72
Deuteranopia (green-blind)
#00326F
Tritanopia (blue-blind)
#00424C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #163370;
/* rgb */ color: rgb(22, 51, 112);
/* oklch */ color: oklch(33.8% 0.112 262.8);
Tailwind
colors: {
  custom: {
    50: '#626a9a',
    500: '#163370',
    950: '#000000',
  },
}
SCSS
$custom: #163370;
$custom-light: #626a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#163370",
  "rgb": {
    "r": 22,
    "g": 51,
    "b": 112
  },
  "hsl": {
    "h": 220.667,
    "s": 67.164,
    "l": 26.275
  },
  "oklch": {
    "l": 0.33805,
    "c": 0.11151,
    "h": 262.8
  },
  "luminance": 0.03708
}

Semantic roles & 50–950 ramp

primary
#163370
secondary
#A6843C
accent
#B33EEA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #163370

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

Preview Lab → · Contrast checker → · Palette generator →

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