#16218F#16218F

#16218F is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.5% C 0.176 H 268.5°. Best body text is #FFFFFF at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#16218F
RGBrgb(22, 33, 143)
HSLhsl(235, 73%, 32%)
HSVhsv(235, 85%, 56%)
CMYKcmyk(84.6%, 76.9%, 0%, 43.9%)
CIE-LABlab(20.98, 37.79, -60.79)
CIE-LCHlch(20.98, 71.58, 301.87°)
OKLaboklab(33.46% -0.0048 -0.1762)
OKLCHoklch(33.46% 0.176 268.5)
XYZxyz(5.8310, 3.2408, 26.2995)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16218F #8F8416
analogous
#165E8F #16218F #47168F
triadic
#16218F #8F1621 #218F16
tetradic
#16218F #8F165E #8F8416 #168F47
square
#16218F #8F165E #8F8416 #168F47
split-complementary
#16218F #8F4716 #5E8F16
monochromatic
#060925 #0E155A #16218F #1E2DC4 #3E4DE1

Accessibility & contrast

On white

12.74
#16218F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#16218F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16218F
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16218F#FFFFFF#000000##FFFFFF
##16218F1.0012.741.6512.74
#FFFFFF12.741.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003892
Deuteranopia (green-blind)
#002C8D
Tritanopia (blue-blind)
#004256
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #16218f;
/* rgb */ color: rgb(22, 33, 143);
/* oklch */ color: oklch(33.5% 0.176 268.5);
Tailwind
colors: {
  custom: {
    50: '#6d5db1',
    500: '#16218f',
    950: '#000000',
  },
}
SCSS
$custom: #16218f;
$custom-light: #6d5db1;
$custom-dark: #000000;
JSON
{
  "hex": "#16218f",
  "rgb": {
    "r": 22,
    "g": 33,
    "b": 143
  },
  "hsl": {
    "h": 234.545,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.33461,
    "c": 0.17623,
    "h": 268.5
  },
  "luminance": 0.03241
}

Semantic roles & 50–950 ramp

primary
#16218F
secondary
#C1B63F
accent
#DF38F0
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#080411
muted
#7B7980

Preview Lab

Preview with #16218F

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

Preview Lab → · Contrast checker → · Palette generator →

#16218F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva