#21598E#21598E

#21598E is a mid, moderate cyan. Relative luminance 0.094; OKLCH L 45.5% C 0.104 H 250.3°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#21598E
RGBrgb(33, 89, 142)
HSLhsl(209, 62%, 34%)
HSVhsv(209, 77%, 56%)
CMYKcmyk(76.8%, 37.3%, 0%, 44.3%)
CIE-LABlab(36.78, 1.07, -34.53)
CIE-LCHlch(36.78, 34.55, 271.77°)
OKLaboklab(45.46% -0.0353 -0.0983)
OKLCHoklch(45.46% 0.104 250.3)
XYZxyz(9.0802, 9.4200, 26.9256)
Luminance0.0942 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21598E #8E5621
analogous
#218E8D #21598E #21238E
triadic
#21598E #8E2159 #598E21
tetradic
#21598E #8D218E #8E5621 #238E21
square
#21598E #8D218E #8E5621 #238E21
split-complementary
#21598E #8E2123 #8E8D21
monochromatic
#0A1B2B #153A5C #21598E #2D78C0 #5297D7

Accessibility & contrast

On white

7.28
#21598E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#21598E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21598E
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21598E#FFFFFF#000000##FFFFFF
##21598E1.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405C90
Deuteranopia (green-blind)
#30528D
Tritanopia (blue-blind)
#00666C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #21598e;
/* rgb */ color: rgb(33, 89, 142);
/* oklch */ color: oklch(45.5% 0.104 250.3);
Tailwind
colors: {
  custom: {
    50: '#6c87af',
    500: '#21598e',
    950: '#000000',
  },
}
SCSS
$custom: #21598e;
$custom-light: #6c87af;
$custom-dark: #000000;
JSON
{
  "hex": "#21598e",
  "rgb": {
    "r": 33,
    "g": 89,
    "b": 142
  },
  "hsl": {
    "h": 209.174,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.45458,
    "c": 0.10445,
    "h": 250.3
  },
  "luminance": 0.09421
}

Semantic roles & 50–950 ramp

primary
#21598E
secondary
#BA8450
accent
#9242E5
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #21598E

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

Preview Lab → · Contrast checker → · Palette generator →

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