#21369B#21369B

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

Color values

HEX#21369B
RGBrgb(33, 54, 155)
HSLhsl(230, 65%, 37%)
HSVhsv(230, 79%, 61%)
CMYKcmyk(78.7%, 65.2%, 0%, 39.2%)
CIE-LABlab(27.65, 29.71, -57.19)
CIE-LCHlch(27.65, 64.44, 297.45°)
OKLaboklab(38.79% -0.0053 -0.1655)
OKLCHoklch(38.79% 0.166 268.2)
XYZxyz(7.8607, 5.3273, 31.6180)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21369B #9B8621
analogous
#21739B #21369B #49219B
triadic
#21369B #9B2136 #369B21
tetradic
#21369B #9B2173 #9B8621 #219B49
square
#21369B #9B2173 #9B8621 #219B49
split-complementary
#21369B #9B4921 #739B21
monochromatic
#0C1336 #162469 #21369B #2C48CD #5A71DC

Accessibility & contrast

On white

10.17
#21369B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #21369B
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21369B#FFFFFF#000000##FFFFFF
##21369B1.0010.172.0710.17
#FFFFFF10.171.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479E
Deuteranopia (green-blind)
#003C99
Tritanopia (blue-blind)
#005163
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #21369b;
/* rgb */ color: rgb(33, 54, 155);
/* oklch */ color: oklch(38.8% 0.166 268.2);
Tailwind
colors: {
  custom: {
    50: '#716db9',
    500: '#21369b',
    950: '#000000',
  },
}
SCSS
$custom: #21369b;
$custom-light: #716db9;
$custom-dark: #000000;
JSON
{
  "hex": "#21369b",
  "rgb": {
    "r": 33,
    "g": 54,
    "b": 155
  },
  "hsl": {
    "h": 229.672,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.38791,
    "c": 0.16553,
    "h": 268.2
  },
  "luminance": 0.05328
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #21369B

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

Preview Lab → · Contrast checker → · Palette generator →

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