#21369C#21369C

#21369C is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.9% C 0.167 H 268.2°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#21369C
RGBrgb(33, 54, 156)
HSLhsl(230, 65%, 37%)
HSVhsv(230, 79%, 61%)
CMYKcmyk(78.8%, 65.4%, 0%, 38.8%)
CIE-LABlab(27.74, 30.09, -57.64)
CIE-LCHlch(27.74, 65.02, 297.56°)
OKLaboklab(38.89% -0.0053 -0.1668)
OKLCHoklch(38.89% 0.167 268.2)
XYZxyz(7.9450, 5.3611, 32.0621)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21369C #9C8721
analogous
#21749C #21369C #4A219C
triadic
#21369C #9C2136 #369C21
tetradic
#21369C #9C2174 #9C8721 #219C4A
square
#21369C #9C2174 #9C8721 #219C4A
split-complementary
#21369C #9C4A21 #749C21
monochromatic
#0C1337 #162569 #21369C #2C47CF #5B71DC

Accessibility & contrast

On white

10.13
#21369C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#21369C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21369C
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21369C#FFFFFF#000000##FFFFFF
##21369C1.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479F
Deuteranopia (green-blind)
#003C9A
Tritanopia (blue-blind)
#005164
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #21369c;
/* rgb */ color: rgb(33, 54, 156);
/* oklch */ color: oklch(38.9% 0.167 268.2);
Tailwind
colors: {
  custom: {
    50: '#716dba',
    500: '#21369c',
    950: '#000000',
  },
}
SCSS
$custom: #21369c;
$custom-light: #716dba;
$custom-dark: #000000;
JSON
{
  "hex": "#21369c",
  "rgb": {
    "r": 33,
    "g": 54,
    "b": 156
  },
  "hsl": {
    "h": 229.756,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.38887,
    "c": 0.16687,
    "h": 268.2
  },
  "luminance": 0.05362
}

Semantic roles & 50–950 ramp

primary
#21369C
secondary
#C1AF58
accent
#CB40E8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #21369C

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

Preview Lab → · Contrast checker → · Palette generator →

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