#21657F#21657F

#21657F is a mid, moderate cyan. Relative luminance 0.112; OKLCH L 47.6% C 0.078 H 227.6°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#21657F
RGBrgb(33, 101, 127)
HSLhsl(197, 59%, 31%)
HSVhsv(197, 74%, 50%)
CMYKcmyk(74%, 20.5%, 0%, 50.2%)
CIE-LABlab(39.85, -11.92, -20.61)
CIE-LCHlch(39.85, 23.81, 239.96°)
OKLaboklab(47.65% -0.0528 -0.0578)
OKLCHoklch(47.65% 0.078 227.6)
XYZxyz(9.1101, 11.1620, 21.7489)
Luminance0.1116 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21657F #7F3B21
analogous
#217F6A #21657F #21367F
triadic
#21657F #7F2165 #657F21
tetradic
#21657F #6A217F #7F3B21 #367F21
square
#21657F #6A217F #7F3B21 #367F21
split-complementary
#21657F #7F2136 #7F6A21
monochromatic
#08181E #143E4E #21657F #2E8CB0 #4AABD0

Accessibility & contrast

On white

6.50
#21657F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#21657F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21657F
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21657F#FFFFFF#000000##FFFFFF
##21657F1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#576380
Deuteranopia (green-blind)
#4A5A7F
Tritanopia (blue-blind)
#006C6E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #21657f;
/* rgb */ color: rgb(33, 101, 127);
/* oklch */ color: oklch(47.6% 0.078 227.6);
Tailwind
colors: {
  custom: {
    50: '#6a91a4',
    500: '#21657f',
    950: '#000000',
  },
}
SCSS
$custom: #21657f;
$custom-light: #6a91a4;
$custom-dark: #000000;
JSON
{
  "hex": "#21657f",
  "rgb": {
    "r": 33,
    "g": 101,
    "b": 127
  },
  "hsl": {
    "h": 196.596,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.47647,
    "c": 0.07826,
    "h": 227.6
  },
  "luminance": 0.11163
}

Semantic roles & 50–950 ramp

primary
#21657F
secondary
#B2674A
accent
#7146E2
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#070C0F
muted
#7A7D7F

Preview Lab

Preview with #21657F

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

Preview Lab → · Contrast checker → · Palette generator →

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