#21548C#21548C

#21548C is a dark, moderate cyan. Relative luminance 0.086; OKLCH L 44.1% C 0.107 H 253.2°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#21548C
RGBrgb(33, 84, 140)
HSLhsl(211, 62%, 34%)
HSVhsv(211, 76%, 55%)
CMYKcmyk(76.4%, 40%, 0%, 45.1%)
CIE-LABlab(35.12, 3.53, -35.96)
CIE-LCHlch(35.12, 36.13, 275.60°)
OKLaboklab(44.12% -0.031 -0.1026)
OKLCHoklch(44.12% 0.107 253.2)
XYZxyz(8.5294, 8.5565, 26.0079)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21548C #8C5921
analogous
#218A8C #21548C #24218C
triadic
#21548C #8C2154 #548C21
tetradic
#21548C #8C218A #8C5921 #218C24
square
#21548C #8C218A #8C5921 #218C24
split-complementary
#21548C #8C2421 #8A8C21
monochromatic
#0A1929 #15365A #21548C #2D72BE #5191D6

Accessibility & contrast

On white

7.75
#21548C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#21548C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21548C
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21548C#FFFFFF#000000##FFFFFF
##21548C1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A588E
Deuteranopia (green-blind)
#294E8B
Tritanopia (blue-blind)
#006169
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #21548c;
/* rgb */ color: rgb(33, 84, 140);
/* oklch */ color: oklch(44.1% 0.107 253.2);
Tailwind
colors: {
  custom: {
    50: '#6c83ae',
    500: '#21548c',
    950: '#000000',
  },
}
SCSS
$custom: #21548c;
$custom-light: #6c83ae;
$custom-dark: #000000;
JSON
{
  "hex": "#21548c",
  "rgb": {
    "r": 33,
    "g": 84,
    "b": 140
  },
  "hsl": {
    "h": 211.402,
    "s": 61.85,
    "l": 33.922
  },
  "oklch": {
    "l": 0.44119,
    "c": 0.10715,
    "h": 253.2
  },
  "luminance": 0.08557
}

Semantic roles & 50–950 ramp

primary
#21548C
secondary
#B9874F
accent
#9843E5
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #21548C

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

Preview Lab → · Contrast checker → · Palette generator →

#21548C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva