#21579B#21579B

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

Color values

HEX#21579B
RGBrgb(33, 87, 155)
HSLhsl(213, 65%, 37%)
HSVhsv(213, 79%, 61%)
CMYKcmyk(78.7%, 43.9%, 0%, 39.2%)
CIE-LABlab(36.94, 7.46, -42.13)
CIE-LCHlch(36.94, 42.79, 280.04°)
OKLaboklab(45.83% -0.0302 -0.1206)
OKLCHoklch(45.83% 0.124 255.9)
XYZxyz(9.9496, 9.5051, 32.3143)
Luminance0.0951 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21579B #9B6521
analogous
#21949B #21579B #28219B
triadic
#21579B #9B2157 #579B21
tetradic
#21579B #9B2194 #9B6521 #219B28
square
#21579B #9B2194 #9B6521 #219B28
split-complementary
#21579B #9B2821 #949B21
monochromatic
#0C1E36 #163B69 #21579B #2C73CD #5A94DC

Accessibility & contrast

On white

7.24
#21579B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#21579B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21579B
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21579B#FFFFFF#000000##FFFFFF
##21579B1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355D9E
Deuteranopia (green-blind)
#1E529A
Tritanopia (blue-blind)
#006771
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #21579b;
/* rgb */ color: rgb(33, 87, 155);
/* oklch */ color: oklch(45.8% 0.124 255.9);
Tailwind
colors: {
  custom: {
    50: '#6f85b9',
    500: '#21579b',
    950: '#000000',
  },
}
SCSS
$custom: #21579b;
$custom-light: #6f85b9;
$custom-dark: #000000;
JSON
{
  "hex": "#21579b",
  "rgb": {
    "r": 33,
    "g": 87,
    "b": 155
  },
  "hsl": {
    "h": 213.443,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45832,
    "c": 0.12437,
    "h": 255.9
  },
  "luminance": 0.09506
}

Semantic roles & 50–950 ramp

primary
#21579B
secondary
#C09258
accent
#9E40E8
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #21579B

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

Preview Lab → · Contrast checker → · Palette generator →

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