#21748E#21748E

#21748E is a mid, moderate cyan. Relative luminance 0.148; OKLCH L 52.2% C 0.086 H 223.5°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#21748E
RGBrgb(33, 116, 142)
HSLhsl(194, 62%, 34%)
HSVhsv(194, 77%, 56%)
CMYKcmyk(76.8%, 18.3%, 0%, 44.3%)
CIE-LABlab(45.31, -15.17, -21.20)
CIE-LCHlch(45.31, 26.07, 234.40°)
OKLaboklab(52.23% -0.0626 -0.0594)
OKLCHoklch(52.23% 0.086 223.5)
XYZxyz(11.7531, 14.7657, 27.8166)
Luminance0.1477 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21748E #8E3B21
analogous
#218E72 #21748E #213E8E
triadic
#21748E #8E2174 #748E21
tetradic
#21748E #72218E #8E3B21 #3E8E21
square
#21748E #72218E #8E3B21 #3E8E21
split-complementary
#21748E #8E213E #8E7221
monochromatic
#0A232B #154B5C #21748E #2D9DC0 #52B7D7

Accessibility & contrast

On white

5.31
#21748E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#21748E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21748E
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21748E#FFFFFF#000000##FFFFFF
##21748E1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#65718F
Deuteranopia (green-blind)
#57678E
Tritanopia (blue-blind)
#007C7C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #21748e;
/* rgb */ color: rgb(33, 116, 142);
/* oklch */ color: oklch(52.2% 0.086 223.5);
Tailwind
colors: {
  custom: {
    50: '#6e9caf',
    500: '#21748e',
    950: '#000000',
  },
}
SCSS
$custom: #21748e;
$custom-light: #6e9caf;
$custom-dark: #000000;
JSON
{
  "hex": "#21748e",
  "rgb": {
    "r": 33,
    "g": 116,
    "b": 142
  },
  "hsl": {
    "h": 194.312,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.52229,
    "c": 0.08627,
    "h": 223.5
  },
  "luminance": 0.14767
}

Semantic roles & 50–950 ramp

primary
#21748E
secondary
#BA6A50
accent
#6942E5
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #21748E

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

Preview Lab → · Contrast checker → · Palette generator →

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