#21385B#21385B

#21385B is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.0% C 0.068 H 258.5°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#21385B
RGBrgb(33, 56, 91)
HSLhsl(216, 47%, 24%)
HSVhsv(216, 64%, 36%)
CMYKcmyk(63.7%, 38.5%, 0%, 64.3%)
CIE-LABlab(23.36, 3.23, -23.68)
CIE-LCHlch(23.36, 23.90, 277.75°)
OKLaboklab(34.02% -0.0136 -0.0671)
OKLCHoklch(34.02% 0.068 258.5)
XYZxyz(3.9290, 3.9067, 10.4425)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21385B #5B4421
analogous
#21555B #21385B #27215B
triadic
#21385B #5B2138 #385B21
tetradic
#21385B #5B2155 #5B4421 #215B27
square
#21385B #5B2155 #5B4421 #215B27
split-complementary
#21385B #5B2721 #555B21
monochromatic
#080E16 #111C2E #21385B #315488 #426FB5

Accessibility & contrast

On white

11.79
#21385B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#21385B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21385B
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21385B#FFFFFF#000000##FFFFFF
##21385B1.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293B5C
Deuteranopia (green-blind)
#22355A
Tritanopia (blue-blind)
#004045
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #21385b;
/* rgb */ color: rgb(33, 56, 91);
/* oklch */ color: oklch(34.0% 0.068 258.5);
Tailwind
colors: {
  custom: {
    50: '#626e89',
    500: '#21385b',
    950: '#000000',
  },
}
SCSS
$custom: #21385b;
$custom-light: #626e89;
$custom-dark: #000000;
JSON
{
  "hex": "#21385b",
  "rgb": {
    "r": 33,
    "g": 56,
    "b": 91
  },
  "hsl": {
    "h": 216.207,
    "s": 46.774,
    "l": 24.314
  },
  "oklch": {
    "l": 0.34016,
    "c": 0.06842,
    "h": 258.5
  },
  "luminance": 0.03907
}

Semantic roles & 50–950 ramp

primary
#21385B
secondary
#8F7349
accent
#A251D6
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#05070B
muted
#7A7A7C

Preview Lab

Preview with #21385B

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

Preview Lab → · Contrast checker → · Palette generator →

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