#21386A#21386A

#21386A is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.0% C 0.092 H 263.7°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#21386A
RGBrgb(33, 56, 106)
HSLhsl(221, 53%, 27%)
HSVhsv(221, 69%, 42%)
CMYKcmyk(68.9%, 47.2%, 0%, 58.4%)
CIE-LABlab(24.30, 9.08, -31.94)
CIE-LCHlch(24.30, 33.21, 285.86°)
OKLaboklab(35.04% -0.01 -0.0912)
OKLCHoklch(35.04% 0.092 263.7)
XYZxyz(4.6420, 4.1918, 14.1974)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21386A #6A5321
analogous
#215D6A #21386A #2F216A
triadic
#21386A #6A2138 #386A21
tetradic
#21386A #6A215D #6A5321 #216A2F
square
#21386A #6A215D #6A5321 #216A2F
split-complementary
#21386A #6A2F21 #5D6A21
monochromatic
#070C17 #121F3B #21386A #305199 #416BC4

Accessibility & contrast

On white

11.42
#21386A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #21386A
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21386A#FFFFFF#000000##FFFFFF
##21386A1.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203D6C
Deuteranopia (green-blind)
#143769
Tritanopia (blue-blind)
#00434B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #21386a;
/* rgb */ color: rgb(33, 56, 106);
/* oklch */ color: oklch(35.0% 0.092 263.7);
Tailwind
colors: {
  custom: {
    50: '#656e95',
    500: '#21386a',
    950: '#000000',
  },
}
SCSS
$custom: #21386a;
$custom-light: #656e95;
$custom-dark: #000000;
JSON
{
  "hex": "#21386a",
  "rgb": {
    "r": 33,
    "g": 56,
    "b": 106
  },
  "hsl": {
    "h": 221.096,
    "s": 52.518,
    "l": 27.255
  },
  "oklch": {
    "l": 0.35043,
    "c": 0.0918,
    "h": 263.7
  },
  "luminance": 0.04192
}

Semantic roles & 50–950 ramp

primary
#21386A
secondary
#9E8349
accent
#AF4CDC
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06070D
muted
#7A7A7E

Preview Lab

Preview with #21386A

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

Preview Lab → · Contrast checker → · Palette generator →

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