#21657E#21657E

#21657E is a mid, moderate cyan. Relative luminance 0.111; OKLCH L 47.6% C 0.077 H 226.6°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#21657E
RGBrgb(33, 101, 126)
HSLhsl(196, 58%, 31%)
HSVhsv(196, 74%, 49%)
CMYKcmyk(73.8%, 19.8%, 0%, 50.6%)
CIE-LABlab(39.81, -12.28, -20.07)
CIE-LCHlch(39.81, 23.53, 238.55°)
OKLaboklab(47.6% -0.0532 -0.0562)
OKLCHoklch(47.6% 0.077 226.6)
XYZxyz(9.0452, 11.1360, 21.4074)
Luminance0.1114 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21657E #7E3A21
analogous
#217E68 #21657E #21367E
triadic
#21657E #7E2165 #657E21
tetradic
#21657E #68217E #7E3A21 #367E21
square
#21657E #68217E #7E3A21 #367E21
split-complementary
#21657E #7E2136 #7E6821
monochromatic
#08171D #143E4E #21657E #2E8CAE #4AACD0

Accessibility & contrast

On white

6.51
#21657E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #21657E
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21657E#FFFFFF#000000##FFFFFF
##21657E1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#58637F
Deuteranopia (green-blind)
#4B5A7E
Tritanopia (blue-blind)
#006C6D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #21657e;
/* rgb */ color: rgb(33, 101, 126);
/* oklch */ color: oklch(47.6% 0.077 226.6);
Tailwind
colors: {
  custom: {
    50: '#6a91a3',
    500: '#21657e',
    950: '#000000',
  },
}
SCSS
$custom: #21657e;
$custom-light: #6a91a3;
$custom-dark: #000000;
JSON
{
  "hex": "#21657e",
  "rgb": {
    "r": 33,
    "g": 101,
    "b": 126
  },
  "hsl": {
    "h": 196.129,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.47598,
    "c": 0.0774,
    "h": 226.6
  },
  "luminance": 0.11137
}

Semantic roles & 50–950 ramp

primary
#21657E
secondary
#B1664A
accent
#7046E2
background
#F6F8FA
surface
#ECF0F3
border
#C7CBCD
text
#070C0F
muted
#7A7D7F

Preview Lab

Preview with #21657E

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

Preview Lab → · Contrast checker → · Palette generator →

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