#163170#163170

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

Color values

HEX#163170
RGBrgb(22, 49, 112)
HSLhsl(222, 67%, 26%)
HSVhsv(222, 80%, 44%)
CMYKcmyk(80.4%, 56.3%, 0%, 56.1%)
CIE-LABlab(22.08, 14.77, -39.40)
CIE-LCHlch(22.08, 42.08, 290.54°)
OKLaboklab(33.35% -0.0123 -0.1135)
OKLCHoklch(33.35% 0.114 263.8)
XYZxyz(4.3528, 3.5366, 15.7793)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#163170 #705516
analogous
#165E70 #163170 #281670
triadic
#163170 #701631 #317016
tetradic
#163170 #70165E #705516 #167028
square
#163170 #70165E #705516 #167028
split-complementary
#163170 #702816 #5E7016
monochromatic
#050B1A #0C1B3D #163170 #2047A3 #2B5ED5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##163170#FFFFFF#000000##FFFFFF
##1631701.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)
#013972
Deuteranopia (green-blind)
#00316F
Tritanopia (blue-blind)
#00404B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #163170;
/* rgb */ color: rgb(22, 49, 112);
/* oklch */ color: oklch(33.3% 0.114 263.8);
Tailwind
colors: {
  custom: {
    50: '#63689a',
    500: '#163170',
    950: '#000000',
  },
}
SCSS
$custom: #163170;
$custom-light: #63689a;
$custom-dark: #000000;
JSON
{
  "hex": "#163170",
  "rgb": {
    "r": 22,
    "g": 49,
    "b": 112
  },
  "hsl": {
    "h": 222,
    "s": 67.164,
    "l": 26.275
  },
  "oklch": {
    "l": 0.33347,
    "c": 0.11422,
    "h": 263.8
  },
  "luminance": 0.03537
}

Semantic roles & 50–950 ramp

primary
#163170
secondary
#A6863C
accent
#B63EEA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #163170

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

Preview Lab → · Contrast checker → · Palette generator →

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