#21538F#21538F

#21538F is a dark, moderate cyan. Relative luminance 0.085; OKLCH L 44.1% C 0.112 H 254.9°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#21538F
RGBrgb(33, 83, 143)
HSLhsl(213, 63%, 35%)
HSVhsv(213, 77%, 56%)
CMYKcmyk(76.9%, 42%, 0%, 43.9%)
CIE-LABlab(34.99, 5.36, -37.99)
CIE-LCHlch(34.99, 38.37, 278.03°)
OKLaboklab(44.08% -0.0293 -0.1086)
OKLCHoklch(44.08% 0.112 254.9)
XYZxyz(8.6765, 8.4920, 27.1631)
Luminance0.0849 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21538F #8F5D21
analogous
#218A8F #21538F #26218F
triadic
#21538F #8F2153 #538F21
tetradic
#21538F #8F218A #8F5D21 #218F26
square
#21538F #8F218A #8F5D21 #218F26
split-complementary
#21538F #8F2621 #8A8F21
monochromatic
#0A192C #16365D #21538F #2C70C1 #538FD7

Accessibility & contrast

On white

7.78
#21538F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#21538F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21538F
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21538F#FFFFFF#000000##FFFFFF
##21538F1.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)
#365891
Deuteranopia (green-blind)
#244E8E
Tritanopia (blue-blind)
#00616A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #21538f;
/* rgb */ color: rgb(33, 83, 143);
/* oklch */ color: oklch(44.1% 0.112 254.9);
Tailwind
colors: {
  custom: {
    50: '#6d82b0',
    500: '#21538f',
    950: '#000000',
  },
}
SCSS
$custom: #21538f;
$custom-light: #6d82b0;
$custom-dark: #000000;
JSON
{
  "hex": "#21538f",
  "rgb": {
    "r": 33,
    "g": 83,
    "b": 143
  },
  "hsl": {
    "h": 212.727,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.44076,
    "c": 0.11244,
    "h": 254.9
  },
  "luminance": 0.08493
}

Semantic roles & 50–950 ramp

primary
#21538F
secondary
#BB8B51
accent
#9B42E6
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #21538F

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

Preview Lab → · Contrast checker → · Palette generator →

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