#16214E#16214E

#16214E is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.7% C 0.084 H 269.6°. Best body text is #FFFFFF at 15.42:1 contrast (WCAG AA passes).

Color values

HEX#16214E
RGBrgb(22, 33, 78)
HSLhsl(228, 56%, 20%)
HSVhsv(228, 72%, 31%)
CMYKcmyk(71.8%, 57.7%, 0%, 69.4%)
CIE-LABlab(14.45, 12.32, -29.26)
CIE-LCHlch(14.45, 31.75, 292.83°)
OKLaboklab(26.71% -0.0006 -0.084)
OKLCHoklch(26.71% 0.084 269.6)
XYZxyz(2.2494, 1.8081, 7.4367)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16214E #4E4316
analogous
#163D4E #16214E #27164E
triadic
#16214E #4E1621 #214E16
tetradic
#16214E #4E163D #4E4316 #164E27
square
#16214E #4E163D #4E4316 #164E27
split-complementary
#16214E #4E2716 #3D4E16
monochromatic
#070A18 #090D1E #16214E #23357E #3149AD

Accessibility & contrast

On white

15.42
#16214E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #16214E
15.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16214E#FFFFFF#000000##FFFFFF
##16214E1.0015.421.3615.42
#FFFFFF15.421.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052750
Deuteranopia (green-blind)
#00224D
Tritanopia (blue-blind)
#002C33
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #16214e;
/* rgb */ color: rgb(22, 33, 78);
/* oklch */ color: oklch(26.7% 0.084 269.6);
Tailwind
colors: {
  custom: {
    50: '#5b5b80',
    500: '#16214e',
    950: '#000000',
  },
}
SCSS
$custom: #16214e;
$custom-light: #5b5b80;
$custom-dark: #000000;
JSON
{
  "hex": "#16214e",
  "rgb": {
    "r": 22,
    "g": 33,
    "b": 78
  },
  "hsl": {
    "h": 228.214,
    "s": 56,
    "l": 19.608
  },
  "oklch": {
    "l": 0.26707,
    "c": 0.08399,
    "h": 269.6
  },
  "luminance": 0.01808
}

Semantic roles & 50–950 ramp

primary
#16214E
secondary
#85773A
accent
#C249DF
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #16214E

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

Preview Lab → · Contrast checker → · Palette generator →

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