#21369A#21369A

#21369A is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.7% C 0.164 H 268.2°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#21369A
RGBrgb(33, 54, 154)
HSLhsl(230, 65%, 37%)
HSVhsv(230, 79%, 60%)
CMYKcmyk(78.6%, 64.9%, 0%, 39.6%)
CIE-LABlab(27.56, 29.33, -56.73)
CIE-LCHlch(27.56, 63.86, 297.34°)
OKLaboklab(38.7% -0.0052 -0.1641)
OKLCHoklch(38.7% 0.164 268.2)
XYZxyz(7.7771, 5.2939, 31.1775)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21369A #9A8521
analogous
#21739A #21369A #49219A
triadic
#21369A #9A2136 #369A21
tetradic
#21369A #9A2173 #9A8521 #219A49
square
#21369A #9A2173 #9A8521 #219A49
split-complementary
#21369A #9A4921 #739A21
monochromatic
#0B1335 #162468 #21369A #2C48CC #5A70DC

Accessibility & contrast

On white

10.20
#21369A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#21369A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21369A
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21369A#FFFFFF#000000##FFFFFF
##21369A1.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479D
Deuteranopia (green-blind)
#003B98
Tritanopia (blue-blind)
#005063
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #21369a;
/* rgb */ color: rgb(33, 54, 154);
/* oklch */ color: oklch(38.7% 0.164 268.2);
Tailwind
colors: {
  custom: {
    50: '#716db9',
    500: '#21369a',
    950: '#000000',
  },
}
SCSS
$custom: #21369a;
$custom-light: #716db9;
$custom-dark: #000000;
JSON
{
  "hex": "#21369a",
  "rgb": {
    "r": 33,
    "g": 54,
    "b": 154
  },
  "hsl": {
    "h": 229.587,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.38695,
    "c": 0.16418,
    "h": 268.2
  },
  "luminance": 0.05295
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #21369A

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

Preview Lab → · Contrast checker → · Palette generator →

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