#21365C#21365C

#21365C is a dark, moderate blue. Relative luminance 0.037; OKLCH L 33.6% C 0.073 H 261.4°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#21365C
RGBrgb(33, 54, 92)
HSLhsl(219, 47%, 25%)
HSVhsv(219, 64%, 36%)
CMYKcmyk(64.1%, 41.3%, 0%, 63.9%)
CIE-LABlab(22.77, 5.00, -25.27)
CIE-LCHlch(22.77, 25.76, 281.20°)
OKLaboklab(33.58% -0.0108 -0.0717)
OKLCHoklch(33.58% 0.073 261.4)
XYZxyz(3.8775, 3.7340, 10.6395)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21365C #5C4721
analogous
#21545C #21365C #2A215C
triadic
#21365C #5C2136 #365C21
tetradic
#21365C #5C2154 #5C4721 #215C2A
square
#21365C #5C2154 #5C4721 #215C2A
split-complementary
#21365C #5C2A21 #545C21
monochromatic
#080D17 #111C2F #21365C #315089 #416BB6

Accessibility & contrast

On white

12.02
#21365C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#21365C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21365C
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21365C#FFFFFF#000000##FFFFFF
##21365C1.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26395E
Deuteranopia (green-blind)
#1E345B
Tritanopia (blue-blind)
#003F44
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #21365c;
/* rgb */ color: rgb(33, 54, 92);
/* oklch */ color: oklch(33.6% 0.073 261.4);
Tailwind
colors: {
  custom: {
    50: '#626c8a',
    500: '#21365c',
    950: '#000000',
  },
}
SCSS
$custom: #21365c;
$custom-light: #626c8a;
$custom-dark: #000000;
JSON
{
  "hex": "#21365c",
  "rgb": {
    "r": 33,
    "g": 54,
    "b": 92
  },
  "hsl": {
    "h": 218.644,
    "s": 47.2,
    "l": 24.51
  },
  "oklch": {
    "l": 0.33578,
    "c": 0.07253,
    "h": 261.4
  },
  "luminance": 0.03734
}

Semantic roles & 50–950 ramp

primary
#21365C
secondary
#907749
accent
#A751D7
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#05070C
muted
#7A7A7D

Preview Lab

Preview with #21365C

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

Preview Lab → · Contrast checker → · Palette generator →

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