#21768E#21768E

#21768E is a mid, moderate cyan. Relative luminance 0.152; OKLCH L 52.7% C 0.086 H 221.2°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#21768E
RGBrgb(33, 118, 142)
HSLhsl(193, 62%, 34%)
HSVhsv(193, 77%, 56%)
CMYKcmyk(76.8%, 16.9%, 0%, 44.3%)
CIE-LABlab(45.95, -16.29, -20.21)
CIE-LCHlch(45.95, 25.96, 231.13°)
OKLaboklab(52.74% -0.0647 -0.0565)
OKLCHoklch(52.74% 0.086 221.2)
XYZxyz(11.9861, 15.2318, 27.8943)
Luminance0.1523 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21768E #8E3921
analogous
#218E70 #21768E #21408E
triadic
#21768E #8E2176 #768E21
tetradic
#21768E #70218E #8E3921 #408E21
square
#21768E #70218E #8E3921 #408E21
split-complementary
#21768E #8E2140 #8E7021
monochromatic
#0A232B #154D5C #21768E #2D9FC0 #52BAD7

Accessibility & contrast

On white

5.19
#21768E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#21768E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21768E
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21768E#FFFFFF#000000##FFFFFF
##21768E1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#68738F
Deuteranopia (green-blind)
#59688E
Tritanopia (blue-blind)
#007E7E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #21768e;
/* rgb */ color: rgb(33, 118, 142);
/* oklch */ color: oklch(52.7% 0.086 221.2);
Tailwind
colors: {
  custom: {
    50: '#6e9daf',
    500: '#21768e',
    950: '#000000',
  },
}
SCSS
$custom: #21768e;
$custom-light: #6e9daf;
$custom-dark: #000000;
JSON
{
  "hex": "#21768e",
  "rgb": {
    "r": 33,
    "g": 118,
    "b": 142
  },
  "hsl": {
    "h": 193.211,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.52741,
    "c": 0.0859,
    "h": 221.2
  },
  "luminance": 0.15233
}

Semantic roles & 50–950 ramp

primary
#21768E
secondary
#BA6850
accent
#6642E5
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #21768E

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

Preview Lab → · Contrast checker → · Palette generator →

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