#21385E#21385E

#21385E is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.2% C 0.073 H 259.9°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#21385E
RGBrgb(33, 56, 94)
HSLhsl(217, 48%, 25%)
HSVhsv(217, 65%, 37%)
CMYKcmyk(64.9%, 40.4%, 0%, 63.1%)
CIE-LABlab(23.54, 4.38, -25.37)
CIE-LCHlch(23.54, 25.74, 279.79°)
OKLaboklab(34.21% -0.0128 -0.072)
OKLCHoklch(34.21% 0.073 259.9)
XYZxyz(4.0610, 3.9595, 11.1377)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21385E #5E4721
analogous
#21565E #21385E #29215E
triadic
#21385E #5E2138 #385E21
tetradic
#21385E #5E2156 #5E4721 #215E29
square
#21385E #5E2156 #5E4721 #215E29
split-complementary
#21385E #5E2921 #565E21
monochromatic
#080D17 #111D31 #21385E #31538B #416EB9

Accessibility & contrast

On white

11.72
#21385E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#21385E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21385E
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21385E#FFFFFF#000000##FFFFFF
##21385E1.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283B60
Deuteranopia (green-blind)
#20355D
Tritanopia (blue-blind)
#004146
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #21385e;
/* rgb */ color: rgb(33, 56, 94);
/* oklch */ color: oklch(34.2% 0.073 259.9);
Tailwind
colors: {
  custom: {
    50: '#636e8c',
    500: '#21385e',
    950: '#000000',
  },
}
SCSS
$custom: #21385e;
$custom-light: #636e8c;
$custom-dark: #000000;
JSON
{
  "hex": "#21385e",
  "rgb": {
    "r": 33,
    "g": 56,
    "b": 94
  },
  "hsl": {
    "h": 217.377,
    "s": 48.031,
    "l": 24.902
  },
  "oklch": {
    "l": 0.34211,
    "c": 0.07309,
    "h": 259.9
  },
  "luminance": 0.0396
}

Semantic roles & 50–950 ramp

primary
#21385E
secondary
#927649
accent
#A550D8
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#05070C
muted
#7A7A7D

Preview Lab

Preview with #21385E

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

Preview Lab → · Contrast checker → · Palette generator →

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