#21386C#21386C

#21386C is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.2% C 0.095 H 264.2°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#21386C
RGBrgb(33, 56, 108)
HSLhsl(222, 53%, 28%)
HSVhsv(222, 69%, 42%)
CMYKcmyk(69.4%, 48.1%, 0%, 57.6%)
CIE-LABlab(24.43, 9.87, -33.01)
CIE-LCHlch(24.43, 34.46, 286.64°)
OKLaboklab(35.19% -0.0096 -0.0944)
OKLCHoklch(35.19% 0.095 264.2)
XYZxyz(4.7472, 4.2339, 14.7515)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21386C #6C5521
analogous
#215D6C #21386C #30216C
triadic
#21386C #6C2138 #386C21
tetradic
#21386C #6C215D #6C5521 #216C30
square
#21386C #6C215D #6C5521 #216C30
split-complementary
#21386C #6C3021 #5D6C21
monochromatic
#070C17 #13203D #21386C #2F509B #426AC5

Accessibility & contrast

On white

11.37
#21386C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#21386C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21386C
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21386C#FFFFFF#000000##FFFFFF
##21386C1.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3E6E
Deuteranopia (green-blind)
#11376B
Tritanopia (blue-blind)
#00444C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #21386c;
/* rgb */ color: rgb(33, 56, 108);
/* oklch */ color: oklch(35.2% 0.095 264.2);
Tailwind
colors: {
  custom: {
    50: '#656e96',
    500: '#21386c',
    950: '#000000',
  },
}
SCSS
$custom: #21386c;
$custom-light: #656e96;
$custom-dark: #000000;
JSON
{
  "hex": "#21386c",
  "rgb": {
    "r": 33,
    "g": 56,
    "b": 108
  },
  "hsl": {
    "h": 221.6,
    "s": 53.191,
    "l": 27.647
  },
  "oklch": {
    "l": 0.3519,
    "c": 0.09489,
    "h": 264.2
  },
  "luminance": 0.04234
}

Semantic roles & 50–950 ramp

primary
#21386C
secondary
#A08549
accent
#B04BDD
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070D
muted
#7A7A7E

Preview Lab

Preview with #21386C

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

Preview Lab → · Contrast checker → · Palette generator →

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