#215172#215172

#215172 is a dark, moderate cyan. Relative luminance 0.074; OKLCH L 41.8% C 0.076 H 241.8°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#215172
RGBrgb(33, 81, 114)
HSLhsl(204, 55%, 29%)
HSVhsv(204, 71%, 45%)
CMYKcmyk(71.1%, 28.9%, 0%, 55.3%)
CIE-LABlab(32.75, -4.56, -23.64)
CIE-LCHlch(32.75, 24.08, 259.09°)
OKLaboklab(41.8% -0.0357 -0.0667)
OKLCHoklch(41.8% 0.076 241.8)
XYZxyz(6.6057, 7.4224, 17.0009)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#215172 #724221
analogous
#21726B #215172 #212972
triadic
#215172 #722151 #517221
tetradic
#215172 #6B2172 #724221 #297221
square
#215172 #6B2172 #724221 #297221
split-complementary
#215172 #722129 #726B21
monochromatic
#071118 #132F43 #215172 #2F73A1 #4493C9

Accessibility & contrast

On white

8.45
#215172 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#215172 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #215172
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##215172#FFFFFF#000000##FFFFFF
##2151721.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425173
Deuteranopia (green-blind)
#374A71
Tritanopia (blue-blind)
#00595C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #215172;
/* rgb */ color: rgb(33, 81, 114);
/* oklch */ color: oklch(41.8% 0.076 241.8);
Tailwind
colors: {
  custom: {
    50: '#67819a',
    500: '#215172',
    950: '#000000',
  },
}
SCSS
$custom: #215172;
$custom-light: #67819a;
$custom-dark: #000000;
JSON
{
  "hex": "#215172",
  "rgb": {
    "r": 33,
    "g": 81,
    "b": 114
  },
  "hsl": {
    "h": 204.444,
    "s": 55.102,
    "l": 28.824
  },
  "oklch": {
    "l": 0.41796,
    "c": 0.07563,
    "h": 241.8
  },
  "luminance": 0.07423
}

Semantic roles & 50–950 ramp

primary
#215172
secondary
#A56F49
accent
#8649DE
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0E
muted
#7A7C7E

Preview Lab

Preview with #215172

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

Preview Lab → · Contrast checker → · Palette generator →

#215172 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva