#21375D#21375D

#21375D is a dark, moderate blue. Relative luminance 0.038; OKLCH L 33.9% C 0.073 H 260.7°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#21375D
RGBrgb(33, 55, 93)
HSLhsl(218, 48%, 25%)
HSVhsv(218, 65%, 36%)
CMYKcmyk(64.5%, 40.9%, 0%, 63.5%)
CIE-LABlab(23.15, 4.69, -25.32)
CIE-LCHlch(23.15, 25.75, 280.49°)
OKLaboklab(33.89% -0.0118 -0.0718)
OKLCHoklch(33.89% 0.073 260.7)
XYZxyz(3.9685, 3.8457, 10.8870)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21375D #5D4721
analogous
#21555D #21375D #29215D
triadic
#21375D #5D2137 #375D21
tetradic
#21375D #5D2155 #5D4721 #215D29
square
#21375D #5D2155 #5D4721 #215D29
split-complementary
#21375D #5D2921 #555D21
monochromatic
#080D17 #111C30 #21375D #31528A #416CB7

Accessibility & contrast

On white

11.87
#21375D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #21375D
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21375D#FFFFFF#000000##FFFFFF
##21375D1.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273A5F
Deuteranopia (green-blind)
#1F355C
Tritanopia (blue-blind)
#004045
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #21375d;
/* rgb */ color: rgb(33, 55, 93);
/* oklch */ color: oklch(33.9% 0.073 260.7);
Tailwind
colors: {
  custom: {
    50: '#626d8b',
    500: '#21375d',
    950: '#000000',
  },
}
SCSS
$custom: #21375d;
$custom-light: #626d8b;
$custom-dark: #000000;
JSON
{
  "hex": "#21375d",
  "rgb": {
    "r": 33,
    "g": 55,
    "b": 93
  },
  "hsl": {
    "h": 218,
    "s": 47.619,
    "l": 24.706
  },
  "oklch": {
    "l": 0.33895,
    "c": 0.07281,
    "h": 260.7
  },
  "luminance": 0.03846
}

Semantic roles & 50–950 ramp

primary
#21375D
secondary
#917749
accent
#A651D7
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#05070C
muted
#7A7A7D

Preview Lab

Preview with #21375D

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

Preview Lab → · Contrast checker → · Palette generator →

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