#21538E#21538E

#21538E is a dark, moderate cyan. Relative luminance 0.085; OKLCH L 44.0% C 0.111 H 254.6°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#21538E
RGBrgb(33, 83, 142)
HSLhsl(212, 62%, 34%)
HSVhsv(212, 77%, 56%)
CMYKcmyk(76.8%, 41.5%, 0%, 44.3%)
CIE-LABlab(34.93, 4.97, -37.48)
CIE-LCHlch(34.93, 37.81, 277.55°)
OKLaboklab(44.01% -0.0295 -0.107)
OKLCHoklch(44.01% 0.111 254.6)
XYZxyz(8.6011, 8.4619, 26.7659)
Luminance0.0846 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21538E #8E5C21
analogous
#218A8E #21538E #25218E
triadic
#21538E #8E2153 #538E21
tetradic
#21538E #8E218A #8E5C21 #218E25
square
#21538E #8E218A #8E5C21 #218E25
split-complementary
#21538E #8E2521 #8A8E21
monochromatic
#0A192B #15365C #21538E #2D70C0 #528FD7

Accessibility & contrast

On white

7.80
#21538E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#21538E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21538E
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21538E#FFFFFF#000000##FFFFFF
##21538E1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375890
Deuteranopia (green-blind)
#254E8D
Tritanopia (blue-blind)
#006169
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #21538e;
/* rgb */ color: rgb(33, 83, 142);
/* oklch */ color: oklch(44.0% 0.111 254.6);
Tailwind
colors: {
  custom: {
    50: '#6c82af',
    500: '#21538e',
    950: '#000000',
  },
}
SCSS
$custom: #21538e;
$custom-light: #6c82af;
$custom-dark: #000000;
JSON
{
  "hex": "#21538e",
  "rgb": {
    "r": 33,
    "g": 83,
    "b": 142
  },
  "hsl": {
    "h": 212.477,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.4401,
    "c": 0.11104,
    "h": 254.6
  },
  "luminance": 0.08463
}

Semantic roles & 50–950 ramp

primary
#21538E
secondary
#BA8A50
accent
#9B42E5
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #21538E

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

Preview Lab → · Contrast checker → · Palette generator →

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