#17214B#17214B

#17214B is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.5% C 0.079 H 270.2°. Best body text is #FFFFFF at 15.49:1 contrast (WCAG AA passes).

Color values

HEX#17214B
RGBrgb(23, 33, 75)
HSLhsl(228, 53%, 19%)
HSVhsv(228, 69%, 29%)
CMYKcmyk(69.3%, 56%, 0%, 70.6%)
CIE-LABlab(14.27, 11.28, -27.48)
CIE-LCHlch(14.27, 29.70, 292.32°)
OKLaboklab(26.52% 0.0003 -0.0787)
OKLCHoklch(26.52% 0.079 270.2)
XYZxyz(2.1668, 1.7777, 6.8842)
Luminance0.0178 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17214B #4B4117
analogous
#173B4B #17214B #27174B
triadic
#17214B #4B1721 #214B17
tetradic
#17214B #4B173B #4B4117 #174B27
square
#17214B #4B173B #4B4117 #174B27
split-complementary
#17214B #4B2717 #3B4B17
monochromatic
#070A17 #090C1C #17214B #25367A #344AA9

Accessibility & contrast

On white

15.49
#17214B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#17214B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17214B
15.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17214B#FFFFFF#000000##FFFFFF
##17214B1.0015.491.3615.49
#FFFFFF15.491.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A274D
Deuteranopia (green-blind)
#01224A
Tritanopia (blue-blind)
#002B32
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #17214b;
/* rgb */ color: rgb(23, 33, 75);
/* oklch */ color: oklch(26.5% 0.079 270.2);
Tailwind
colors: {
  custom: {
    50: '#5a5b7e',
    500: '#17214b',
    950: '#000000',
  },
}
SCSS
$custom: #17214b;
$custom-light: #5a5b7e;
$custom-dark: #000000;
JSON
{
  "hex": "#17214b",
  "rgb": {
    "r": 23,
    "g": 33,
    "b": 75
  },
  "hsl": {
    "h": 228.462,
    "s": 53.061,
    "l": 19.216
  },
  "oklch": {
    "l": 0.26519,
    "c": 0.07873,
    "h": 270.2
  },
  "luminance": 0.01778
}

Semantic roles & 50–950 ramp

primary
#17214B
secondary
#82753C
accent
#C14BDC
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #17214B

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

Preview Lab → · Contrast checker → · Palette generator →

#17214B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva