#163272#163272

#163272 is a dark, moderate blue. Relative luminance 0.037; OKLCH L 33.7% C 0.116 H 263.6°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#163272
RGBrgb(22, 50, 114)
HSLhsl(222, 68%, 27%)
HSVhsv(222, 81%, 45%)
CMYKcmyk(80.7%, 56.1%, 0%, 55.3%)
CIE-LABlab(22.54, 14.88, -39.94)
CIE-LCHlch(22.54, 42.62, 290.44°)
OKLaboklab(33.75% -0.0129 -0.1151)
OKLCHoklch(33.75% 0.116 263.6)
XYZxyz(4.5077, 3.6662, 16.3864)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#163272 #725616
analogous
#166072 #163272 #281672
triadic
#163272 #721632 #327216
tetradic
#163272 #721660 #725616 #167228
square
#163272 #721660 #725616 #167228
split-complementary
#163272 #722816 #607216
monochromatic
#050B1A #0C1C3F #163272 #2049A5 #2C60D6

Accessibility & contrast

On white

12.11
#163272 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#163272 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #163272
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##163272#FFFFFF#000000##FFFFFF
##1632721.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013A74
Deuteranopia (green-blind)
#003271
Tritanopia (blue-blind)
#00424C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #163272;
/* rgb */ color: rgb(22, 50, 114);
/* oklch */ color: oklch(33.7% 0.116 263.6);
Tailwind
colors: {
  custom: {
    50: '#63699b',
    500: '#163272',
    950: '#000000',
  },
}
SCSS
$custom: #163272;
$custom-light: #63699b;
$custom-dark: #000000;
JSON
{
  "hex": "#163272",
  "rgb": {
    "r": 22,
    "g": 50,
    "b": 114
  },
  "hsl": {
    "h": 221.739,
    "s": 67.647,
    "l": 26.667
  },
  "oklch": {
    "l": 0.33745,
    "c": 0.11584,
    "h": 263.6
  },
  "luminance": 0.03667
}

Semantic roles & 50–950 ramp

primary
#163272
secondary
#A8873C
accent
#B63DEB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #163272

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

Preview Lab → · Contrast checker → · Palette generator →

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