#215271#215271

#215271 is a dark, moderate cyan. Relative luminance 0.075; OKLCH L 42.0% C 0.074 H 239.7°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#215271
RGBrgb(33, 82, 113)
HSLhsl(203, 55%, 29%)
HSVhsv(203, 71%, 44%)
CMYKcmyk(70.8%, 27.4%, 0%, 55.7%)
CIE-LABlab(33.03, -5.56, -22.59)
CIE-LCHlch(33.03, 23.26, 256.17°)
OKLaboklab(42% -0.0372 -0.0636)
OKLCHoklch(42% 0.074 239.7)
XYZxyz(6.6240, 7.5495, 16.7277)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#215271 #714021
analogous
#217168 #215271 #212A71
triadic
#215271 #712152 #527121
tetradic
#215271 #682171 #714021 #2A7121
square
#215271 #682171 #714021 #2A7121
split-complementary
#215271 #71212A #716821
monochromatic
#071118 #133042 #215271 #2F74A0 #4495C8

Accessibility & contrast

On white

8.37
#215271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#215271 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #215271
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##215271#FFFFFF#000000##FFFFFF
##2152711.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445272
Deuteranopia (green-blind)
#394A70
Tritanopia (blue-blind)
#005A5D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #215271;
/* rgb */ color: rgb(33, 82, 113);
/* oklch */ color: oklch(42.0% 0.074 239.7);
Tailwind
colors: {
  custom: {
    50: '#67829a',
    500: '#215271',
    950: '#000000',
  },
}
SCSS
$custom: #215271;
$custom-light: #67829a;
$custom-dark: #000000;
JSON
{
  "hex": "#215271",
  "rgb": {
    "r": 33,
    "g": 82,
    "b": 113
  },
  "hsl": {
    "h": 203.25,
    "s": 54.795,
    "l": 28.627
  },
  "oklch": {
    "l": 0.41999,
    "c": 0.07368,
    "h": 239.7
  },
  "luminance": 0.0755
}

Semantic roles & 50–950 ramp

primary
#215271
secondary
#A56D49
accent
#834ADE
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0E
muted
#7A7C7E

Preview Lab

Preview with #215271

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

Preview Lab → · Contrast checker → · Palette generator →

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