#17214F#17214F

#17214F is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.9% C 0.085 H 270.4°. Best body text is #FFFFFF at 15.36:1 contrast (WCAG AA passes).

Color values

HEX#17214F
RGBrgb(23, 33, 79)
HSLhsl(229, 55%, 20%)
HSVhsv(229, 71%, 31%)
CMYKcmyk(70.9%, 58.2%, 0%, 69%)
CIE-LABlab(14.59, 12.93, -29.70)
CIE-LCHlch(14.59, 32.39, 293.52°)
OKLaboklab(26.86% 0.0007 -0.0853)
OKLCHoklch(26.86% 0.085 270.4)
XYZxyz(2.3080, 1.8342, 7.6280)
Luminance0.0183 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17214F #4F4517
analogous
#173D4F #17214F #29174F
triadic
#17214F #4F1721 #214F17
tetradic
#17214F #4F173D #4F4517 #174F29
square
#17214F #4F173D #4F4517 #174F29
split-complementary
#17214F #4F2917 #3D4F17
monochromatic
#070A18 #090D20 #17214F #25357E #3349AE

Accessibility & contrast

On white

15.36
#17214F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#17214F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17214F
15.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17214F#FFFFFF#000000##FFFFFF
##17214F1.0015.361.3715.36
#FFFFFF15.361.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.361.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: #17214f;
/* rgb */ color: rgb(23, 33, 79);
/* oklch */ color: oklch(26.9% 0.085 270.4);
Tailwind
colors: {
  custom: {
    50: '#5b5b81',
    500: '#17214f',
    950: '#000000',
  },
}
SCSS
$custom: #17214f;
$custom-light: #5b5b81;
$custom-dark: #000000;
JSON
{
  "hex": "#17214f",
  "rgb": {
    "r": 23,
    "g": 33,
    "b": 79
  },
  "hsl": {
    "h": 229.286,
    "s": 54.902,
    "l": 20
  },
  "oklch": {
    "l": 0.2686,
    "c": 0.08527,
    "h": 270.4
  },
  "luminance": 0.01834
}

Semantic roles & 50–950 ramp

primary
#17214F
secondary
#86793C
accent
#C44ADE
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #17214F

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

Preview Lab → · Contrast checker → · Palette generator →

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