#21506F#21506F

#21506F is a dark, moderate cyan. Relative luminance 0.072; OKLCH L 41.4% C 0.073 H 240.6°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#21506F
RGBrgb(33, 80, 111)
HSLhsl(204, 54%, 28%)
HSVhsv(204, 70%, 44%)
CMYKcmyk(70.3%, 27.9%, 0%, 56.5%)
CIE-LABlab(32.28, -5.05, -22.51)
CIE-LCHlch(32.28, 23.07, 257.36°)
OKLaboklab(41.37% -0.0356 -0.0634)
OKLCHoklch(41.37% 0.073 240.6)
XYZxyz(6.3640, 7.2077, 16.0917)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21506F #6F4021
analogous
#216F67 #21506F #21296F
triadic
#21506F #6F2150 #506F21
tetradic
#21506F #67216F #6F4021 #296F21
square
#21506F #67216F #6F4021 #296F21
split-complementary
#21506F #6F2129 #6F6721
monochromatic
#071118 #132E40 #21506F #2F729E #4393C7

Accessibility & contrast

On white

8.60
#21506F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#21506F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21506F
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21506F#FFFFFF#000000##FFFFFF
##21506F1.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425070
Deuteranopia (green-blind)
#37496E
Tritanopia (blue-blind)
#00585B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #21506f;
/* rgb */ color: rgb(33, 80, 111);
/* oklch */ color: oklch(41.4% 0.073 240.6);
Tailwind
colors: {
  custom: {
    50: '#668198',
    500: '#21506f',
    950: '#000000',
  },
}
SCSS
$custom: #21506f;
$custom-light: #668198;
$custom-dark: #000000;
JSON
{
  "hex": "#21506f",
  "rgb": {
    "r": 33,
    "g": 80,
    "b": 111
  },
  "hsl": {
    "h": 203.846,
    "s": 54.167,
    "l": 28.235
  },
  "oklch": {
    "l": 0.41372,
    "c": 0.07273,
    "h": 240.6
  },
  "luminance": 0.07208
}

Semantic roles & 50–950 ramp

primary
#21506F
secondary
#A36D49
accent
#854ADE
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0D
muted
#7A7C7E

Preview Lab

Preview with #21506F

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

Preview Lab → · Contrast checker → · Palette generator →

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