#21548E#21548E

#21548E is a dark, moderate cyan. Relative luminance 0.086; OKLCH L 44.2% C 0.110 H 253.9°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#21548E
RGBrgb(33, 84, 142)
HSLhsl(212, 62%, 34%)
HSVhsv(212, 77%, 56%)
CMYKcmyk(76.8%, 40.8%, 0%, 44.3%)
CIE-LABlab(35.23, 4.31, -36.99)
CIE-LCHlch(35.23, 37.24, 276.65°)
OKLaboklab(44.25% -0.0304 -0.1056)
OKLCHoklch(44.25% 0.11 253.9)
XYZxyz(8.6782, 8.6160, 26.7916)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21548E #8E5B21
analogous
#218B8E #21548E #25218E
triadic
#21548E #8E2154 #548E21
tetradic
#21548E #8E218B #8E5B21 #218E25
square
#21548E #8E218B #8E5B21 #218E25
split-complementary
#21548E #8E2521 #8B8E21
monochromatic
#0A192B #15375C #21548E #2D71C0 #5290D7

Accessibility & contrast

On white

7.71
#21548E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#21548E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21548E
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21548E#FFFFFF#000000##FFFFFF
##21548E1.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385890
Deuteranopia (green-blind)
#274E8D
Tritanopia (blue-blind)
#00626A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #21548e;
/* rgb */ color: rgb(33, 84, 142);
/* oklch */ color: oklch(44.2% 0.110 253.9);
Tailwind
colors: {
  custom: {
    50: '#6c83af',
    500: '#21548e',
    950: '#000000',
  },
}
SCSS
$custom: #21548e;
$custom-light: #6c83af;
$custom-dark: #000000;
JSON
{
  "hex": "#21548e",
  "rgb": {
    "r": 33,
    "g": 84,
    "b": 142
  },
  "hsl": {
    "h": 211.927,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44249,
    "c": 0.1099,
    "h": 253.9
  },
  "luminance": 0.08617
}

Semantic roles & 50–950 ramp

primary
#21548E
secondary
#BA8950
accent
#9942E5
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #21548E

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

Preview Lab → · Contrast checker → · Palette generator →

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