#16214F#16214F

#16214F is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.8% C 0.086 H 269.7°. Best body text is #FFFFFF at 15.39:1 contrast (WCAG AA passes).

Color values

HEX#16214F
RGBrgb(22, 33, 79)
HSLhsl(228, 56%, 20%)
HSVhsv(228, 72%, 31%)
CMYKcmyk(72.2%, 58.2%, 0%, 69%)
CIE-LABlab(14.53, 12.73, -29.81)
CIE-LCHlch(14.53, 32.42, 293.13°)
OKLaboklab(26.79% -0.0005 -0.0856)
OKLCHoklch(26.79% 0.086 269.7)
XYZxyz(2.2855, 1.8226, 7.6270)
Luminance0.0182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16214F #4F4416
analogous
#163E4F #16214F #28164F
triadic
#16214F #4F1621 #214F16
tetradic
#16214F #4F163E #4F4416 #164F28
square
#16214F #4F163E #4F4416 #164F28
split-complementary
#16214F #4F2816 #3E4F16
monochromatic
#070A18 #090D1F #16214F #23357F #3149AF

Accessibility & contrast

On white

15.39
#16214F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#16214F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16214F
15.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16214F#FFFFFF#000000##FFFFFF
##16214F1.0015.391.3615.39
#FFFFFF15.391.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#042751
Deuteranopia (green-blind)
#00224E
Tritanopia (blue-blind)
#002C34
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #16214f;
/* rgb */ color: rgb(22, 33, 79);
/* oklch */ color: oklch(26.8% 0.086 269.7);
Tailwind
colors: {
  custom: {
    50: '#5b5b81',
    500: '#16214f',
    950: '#000000',
  },
}
SCSS
$custom: #16214f;
$custom-light: #5b5b81;
$custom-dark: #000000;
JSON
{
  "hex": "#16214f",
  "rgb": {
    "r": 22,
    "g": 33,
    "b": 79
  },
  "hsl": {
    "h": 228.421,
    "s": 56.436,
    "l": 19.804
  },
  "oklch": {
    "l": 0.26794,
    "c": 0.08562,
    "h": 269.7
  },
  "luminance": 0.01823
}

Semantic roles & 50–950 ramp

primary
#16214F
secondary
#86783A
accent
#C248E0
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #16214F

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

Preview Lab → · Contrast checker → · Palette generator →

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