#21548A#21548A

#21548A is a dark, moderate cyan. Relative luminance 0.085; OKLCH L 44.0% C 0.104 H 252.5°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#21548A
RGBrgb(33, 84, 138)
HSLhsl(211, 61%, 34%)
HSVhsv(211, 76%, 54%)
CMYKcmyk(76.1%, 39.1%, 0%, 45.9%)
CIE-LABlab(35.00, 2.74, -34.93)
CIE-LCHlch(35.00, 35.03, 274.49°)
OKLaboklab(43.99% -0.0315 -0.0995)
OKLCHoklch(43.99% 0.104 252.5)
XYZxyz(8.3833, 8.4980, 25.2383)
Luminance0.0850 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21548A #8A5721
analogous
#21888A #21548A #22218A
triadic
#21548A #8A2154 #548A21
tetradic
#21548A #8A2188 #8A5721 #218A22
square
#21548A #8A2188 #8A5721 #218A22
split-complementary
#21548A #8A2221 #888A21
monochromatic
#091827 #153659 #21548A #2D72BB #5091D5

Accessibility & contrast

On white

7.78
#21548A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#21548A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21548A
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21548A#FFFFFF#000000##FFFFFF
##21548A1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21548a;
/* rgb */ color: rgb(33, 84, 138);
/* oklch */ color: oklch(44.0% 0.104 252.5);
Tailwind
colors: {
  custom: {
    50: '#6b83ac',
    500: '#21548a',
    950: '#000000',
  },
}
SCSS
$custom: #21548a;
$custom-light: #6b83ac;
$custom-dark: #000000;
JSON
{
  "hex": "#21548a",
  "rgb": {
    "r": 33,
    "g": 84,
    "b": 138
  },
  "hsl": {
    "h": 210.857,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43989,
    "c": 0.1044,
    "h": 252.5
  },
  "luminance": 0.08499
}

Semantic roles & 50–950 ramp

primary
#21548A
secondary
#B9854E
accent
#9643E5
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #21548A

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

Preview Lab → · Contrast checker → · Palette generator →

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