#21386B#21386B

#21386B is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.1% C 0.093 H 264.0°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#21386B
RGBrgb(33, 56, 107)
HSLhsl(221, 53%, 27%)
HSVhsv(221, 69%, 42%)
CMYKcmyk(69.2%, 47.7%, 0%, 58%)
CIE-LABlab(24.36, 9.47, -32.48)
CIE-LCHlch(24.36, 33.83, 286.26°)
OKLaboklab(35.12% -0.0098 -0.0928)
OKLCHoklch(35.12% 0.093 264)
XYZxyz(4.6943, 4.2128, 14.4728)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21386B #6B5421
analogous
#215D6B #21386B #2F216B
triadic
#21386B #6B2138 #386B21
tetradic
#21386B #6B215D #6B5421 #216B2F
square
#21386B #6B215D #6B5421 #216B2F
split-complementary
#21386B #6B2F21 #5D6B21
monochromatic
#070C17 #13203C #21386B #2F509A #426AC5

Accessibility & contrast

On white

11.40
#21386B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#21386B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21386B
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21386B#FFFFFF#000000##FFFFFF
##21386B1.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3E6D
Deuteranopia (green-blind)
#12376A
Tritanopia (blue-blind)
#00444C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #21386b;
/* rgb */ color: rgb(33, 56, 107);
/* oklch */ color: oklch(35.1% 0.093 264.0);
Tailwind
colors: {
  custom: {
    50: '#656e96',
    500: '#21386b',
    950: '#000000',
  },
}
SCSS
$custom: #21386b;
$custom-light: #656e96;
$custom-dark: #000000;
JSON
{
  "hex": "#21386b",
  "rgb": {
    "r": 33,
    "g": 56,
    "b": 107
  },
  "hsl": {
    "h": 221.351,
    "s": 52.857,
    "l": 27.451
  },
  "oklch": {
    "l": 0.35116,
    "c": 0.09335,
    "h": 264
  },
  "luminance": 0.04213
}

Semantic roles & 50–950 ramp

primary
#21386B
secondary
#9F8449
accent
#AF4CDC
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070D
muted
#7A7A7E

Preview Lab

Preview with #21386B

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

Preview Lab → · Contrast checker → · Palette generator →

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