#21375C#21375C

#21375C is a dark, moderate blue. Relative luminance 0.038; OKLCH L 33.8% C 0.071 H 260.3°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#21375C
RGBrgb(33, 55, 92)
HSLhsl(218, 47%, 25%)
HSVhsv(218, 64%, 36%)
CMYKcmyk(64.1%, 40.2%, 0%, 63.9%)
CIE-LABlab(23.09, 4.30, -24.76)
CIE-LCHlch(23.09, 25.13, 279.86°)
OKLaboklab(33.83% -0.0121 -0.0702)
OKLCHoklch(33.83% 0.071 260.3)
XYZxyz(3.9245, 3.8281, 10.6552)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21375C #5C4621
analogous
#21555C #21375C #29215C
triadic
#21375C #5C2137 #375C21
tetradic
#21375C #5C2155 #5C4621 #215C29
square
#21375C #5C2155 #5C4621 #215C29
split-complementary
#21375C #5C2921 #555C21
monochromatic
#080D17 #111C2F #21375C #315289 #416DB6

Accessibility & contrast

On white

11.89
#21375C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#21375C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21375C
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21375C#FFFFFF#000000##FFFFFF
##21375C1.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273A5D
Deuteranopia (green-blind)
#1F355B
Tritanopia (blue-blind)
#003F45
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #21375c;
/* rgb */ color: rgb(33, 55, 92);
/* oklch */ color: oklch(33.8% 0.071 260.3);
Tailwind
colors: {
  custom: {
    50: '#626d8a',
    500: '#21375c',
    950: '#000000',
  },
}
SCSS
$custom: #21375c;
$custom-light: #626d8a;
$custom-dark: #000000;
JSON
{
  "hex": "#21375c",
  "rgb": {
    "r": 33,
    "g": 55,
    "b": 92
  },
  "hsl": {
    "h": 217.627,
    "s": 47.2,
    "l": 24.51
  },
  "oklch": {
    "l": 0.33829,
    "c": 0.07124,
    "h": 260.3
  },
  "luminance": 0.03828
}

Semantic roles & 50–950 ramp

primary
#21375C
secondary
#907649
accent
#A551D7
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#05070C
muted
#7A7A7D

Preview Lab

Preview with #21375C

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

Preview Lab → · Contrast checker → · Palette generator →

#21375C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva