#21365D#21365D

#21365D is a dark, moderate blue. Relative luminance 0.038; OKLCH L 33.6% C 0.074 H 261.8°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#21365D
RGBrgb(33, 54, 93)
HSLhsl(219, 48%, 25%)
HSVhsv(219, 65%, 36%)
CMYKcmyk(64.5%, 41.9%, 0%, 63.5%)
CIE-LABlab(22.83, 5.39, -25.83)
CIE-LCHlch(22.83, 26.39, 281.79°)
OKLaboklab(33.65% -0.0106 -0.0733)
OKLCHoklch(33.65% 0.074 261.8)
XYZxyz(3.9215, 3.7516, 10.8713)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21365D #5D4821
analogous
#21545D #21365D #2A215D
triadic
#21365D #5D2136 #365D21
tetradic
#21365D #5D2154 #5D4821 #215D2A
square
#21365D #5D2154 #5D4821 #215D2A
split-complementary
#21365D #5D2A21 #545D21
monochromatic
#080D17 #111C30 #21365D #31508A #416AB7

Accessibility & contrast

On white

12.00
#21365D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #21365D
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21365D#FFFFFF#000000##FFFFFF
##21365D1.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25395F
Deuteranopia (green-blind)
#1D345C
Tritanopia (blue-blind)
#003F45
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #21365d;
/* rgb */ color: rgb(33, 54, 93);
/* oklch */ color: oklch(33.6% 0.074 261.8);
Tailwind
colors: {
  custom: {
    50: '#626c8b',
    500: '#21365d',
    950: '#000000',
  },
}
SCSS
$custom: #21365d;
$custom-light: #626c8b;
$custom-dark: #000000;
JSON
{
  "hex": "#21365d",
  "rgb": {
    "r": 33,
    "g": 54,
    "b": 93
  },
  "hsl": {
    "h": 219,
    "s": 47.619,
    "l": 24.706
  },
  "oklch": {
    "l": 0.33645,
    "c": 0.07411,
    "h": 261.8
  },
  "luminance": 0.03752
}

Semantic roles & 50–950 ramp

primary
#21365D
secondary
#917849
accent
#A851D7
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#05070C
muted
#7A7A7D

Preview Lab

Preview with #21365D

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

Preview Lab → · Contrast checker → · Palette generator →

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