#21579A#21579A

#21579A is a mid, vivid cyan. Relative luminance 0.095; OKLCH L 45.8% C 0.123 H 255.7°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#21579A
RGBrgb(33, 87, 154)
HSLhsl(213, 65%, 37%)
HSVhsv(213, 79%, 60%)
CMYKcmyk(78.6%, 43.5%, 0%, 39.6%)
CIE-LABlab(36.88, 7.07, -41.63)
CIE-LCHlch(36.88, 42.22, 279.63°)
OKLaboklab(45.76% -0.0304 -0.1192)
OKLCHoklch(45.76% 0.123 255.7)
XYZxyz(9.8660, 9.4717, 31.8738)
Luminance0.0947 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21579A #9A6421
analogous
#21949A #21579A #27219A
triadic
#21579A #9A2157 #579A21
tetradic
#21579A #9A2194 #9A6421 #219A27
square
#21579A #9A2194 #9A6421 #219A27
split-complementary
#21579A #9A2721 #949A21
monochromatic
#0B1E35 #163B68 #21579A #2C73CC #5A94DC

Accessibility & contrast

On white

7.25
#21579A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#21579A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21579A
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21579A#FFFFFF#000000##FFFFFF
##21579A1.007.252.897.25
#FFFFFF7.251.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365D9D
Deuteranopia (green-blind)
#1F5299
Tritanopia (blue-blind)
#006771
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #21579a;
/* rgb */ color: rgb(33, 87, 154);
/* oklch */ color: oklch(45.8% 0.123 255.7);
Tailwind
colors: {
  custom: {
    50: '#6f85b8',
    500: '#21579a',
    950: '#000000',
  },
}
SCSS
$custom: #21579a;
$custom-light: #6f85b8;
$custom-dark: #000000;
JSON
{
  "hex": "#21579a",
  "rgb": {
    "r": 33,
    "g": 87,
    "b": 154
  },
  "hsl": {
    "h": 213.223,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45763,
    "c": 0.12299,
    "h": 255.7
  },
  "luminance": 0.09473
}

Semantic roles & 50–950 ramp

primary
#21579A
secondary
#C09157
accent
#9D40E8
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #21579A

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

Preview Lab → · Contrast checker → · Palette generator →

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