#21495F#21495F

#21495F is a dark, muted cyan. Relative luminance 0.059; OKLCH L 38.7% C 0.059 H 235.1°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#21495F
RGBrgb(33, 73, 95)
HSLhsl(201, 48%, 25%)
HSVhsv(201, 65%, 37%)
CMYKcmyk(65.3%, 23.2%, 0%, 62.7%)
CIE-LABlab(29.19, -6.53, -17.16)
CIE-LCHlch(29.19, 18.36, 249.16°)
OKLaboklab(38.68% -0.0334 -0.048)
OKLCHoklch(38.68% 0.059 235.1)
XYZxyz(5.0745, 5.9141, 11.6984)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21495F #5F3721
analogous
#215F56 #21495F #212A5F
triadic
#21495F #5F2149 #495F21
tetradic
#21495F #56215F #5F3721 #2A5F21
square
#21495F #56215F #5F3721 #2A5F21
split-complementary
#21495F #5F212A #5F5621
monochromatic
#081117 #112632 #21495F #316C8C #418FBA

Accessibility & contrast

On white

9.62
#21495F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#21495F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21495F
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21495F#FFFFFF#000000##FFFFFF
##21495F1.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4860
Deuteranopia (green-blind)
#36425F
Tritanopia (blue-blind)
#004F50
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #21495f;
/* rgb */ color: rgb(33, 73, 95);
/* oklch */ color: oklch(38.7% 0.059 235.1);
Tailwind
colors: {
  custom: {
    50: '#637b8c',
    500: '#21495f',
    950: '#000000',
  },
}
SCSS
$custom: #21495f;
$custom-light: #637b8c;
$custom-dark: #000000;
JSON
{
  "hex": "#21495f",
  "rgb": {
    "r": 33,
    "g": 73,
    "b": 95
  },
  "hsl": {
    "h": 201.29,
    "s": 48.438,
    "l": 25.098
  },
  "oklch": {
    "l": 0.38676,
    "c": 0.05852,
    "h": 235.1
  },
  "luminance": 0.05915
}

Semantic roles & 50–950 ramp

primary
#21495F
secondary
#936349
accent
#8050D8
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#06090C
muted
#7A7B7D

Preview Lab

Preview with #21495F

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

Preview Lab → · Contrast checker → · Palette generator →

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