#21548B#21548B

#21548B is a dark, moderate cyan. Relative luminance 0.085; OKLCH L 44.1% C 0.106 H 252.8°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#21548B
RGBrgb(33, 84, 139)
HSLhsl(211, 62%, 34%)
HSVhsv(211, 76%, 55%)
CMYKcmyk(76.3%, 39.6%, 0%, 45.5%)
CIE-LABlab(35.06, 3.13, -35.44)
CIE-LCHlch(35.06, 35.58, 275.05°)
OKLaboklab(44.05% -0.0312 -0.1011)
OKLCHoklch(44.05% 0.106 252.8)
XYZxyz(8.4560, 8.5271, 25.6213)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21548B #8B5821
analogous
#21898B #21548B #23218B
triadic
#21548B #8B2154 #548B21
tetradic
#21548B #8B2189 #8B5821 #218B23
square
#21548B #8B2189 #8B5821 #218B23
split-complementary
#21548B #8B2321 #898B21
monochromatic
#0A1828 #15365A #21548B #2D72BC #5191D6

Accessibility & contrast

On white

7.76
#21548B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #21548B
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21548B#FFFFFF#000000##FFFFFF
##21548B1.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A588D
Deuteranopia (green-blind)
#2A4E8A
Tritanopia (blue-blind)
#006168
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #21548b;
/* rgb */ color: rgb(33, 84, 139);
/* oklch */ color: oklch(44.1% 0.106 252.8);
Tailwind
colors: {
  custom: {
    50: '#6c83ad',
    500: '#21548b',
    950: '#000000',
  },
}
SCSS
$custom: #21548b;
$custom-light: #6c83ad;
$custom-dark: #000000;
JSON
{
  "hex": "#21548b",
  "rgb": {
    "r": 33,
    "g": 84,
    "b": 139
  },
  "hsl": {
    "h": 211.132,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.44054,
    "c": 0.10577,
    "h": 252.8
  },
  "luminance": 0.08528
}

Semantic roles & 50–950 ramp

primary
#21548B
secondary
#B9864F
accent
#9743E5
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #21548B

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

Preview Lab → · Contrast checker → · Palette generator →

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