#163270#163270

#163270 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.6% C 0.113 H 263.3°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#163270
RGBrgb(22, 50, 112)
HSLhsl(221, 67%, 26%)
HSVhsv(221, 80%, 44%)
CMYKcmyk(80.4%, 55.4%, 0%, 56.1%)
CIE-LABlab(22.38, 14.05, -38.92)
CIE-LCHlch(22.38, 41.37, 289.85°)
OKLaboklab(33.58% -0.0132 -0.1121)
OKLCHoklch(33.58% 0.113 263.3)
XYZxyz(4.3951, 3.6211, 15.7934)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#163270 #705416
analogous
#165F70 #163270 #271670
triadic
#163270 #701632 #327016
tetradic
#163270 #70165F #705416 #167027
square
#163270 #70165F #705416 #167027
split-complementary
#163270 #702716 #5F7016
monochromatic
#050B1A #0C1B3D #163270 #2049A3 #2B60D5

Accessibility & contrast

On white

12.18
#163270 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#163270 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #163270
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##163270#FFFFFF#000000##FFFFFF
##1632701.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053A72
Deuteranopia (green-blind)
#00326F
Tritanopia (blue-blind)
#00414C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #163270;
/* rgb */ color: rgb(22, 50, 112);
/* oklch */ color: oklch(33.6% 0.113 263.3);
Tailwind
colors: {
  custom: {
    50: '#62699a',
    500: '#163270',
    950: '#000000',
  },
}
SCSS
$custom: #163270;
$custom-light: #62699a;
$custom-dark: #000000;
JSON
{
  "hex": "#163270",
  "rgb": {
    "r": 22,
    "g": 50,
    "b": 112
  },
  "hsl": {
    "h": 221.333,
    "s": 67.164,
    "l": 26.275
  },
  "oklch": {
    "l": 0.33575,
    "c": 0.11287,
    "h": 263.3
  },
  "luminance": 0.03622
}

Semantic roles & 50–950 ramp

primary
#163270
secondary
#A6853C
accent
#B43EEA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #163270

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

Preview Lab → · Contrast checker → · Palette generator →

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