#21369D#21369D

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

Color values

HEX#21369D
RGBrgb(33, 54, 157)
HSLhsl(230, 65%, 37%)
HSVhsv(230, 79%, 62%)
CMYKcmyk(79%, 65.6%, 0%, 38.4%)
CIE-LABlab(27.83, 30.47, -58.10)
CIE-LCHlch(27.83, 65.61, 297.67°)
OKLaboklab(38.98% -0.0054 -0.1681)
OKLCHoklch(38.98% 0.168 268.2)
XYZxyz(8.0301, 5.3951, 32.5099)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21369D #9D8821
analogous
#21749D #21369D #4A219D
triadic
#21369D #9D2136 #369D21
tetradic
#21369D #9D2174 #9D8821 #219D4A
square
#21369D #9D2174 #9D8821 #219D4A
split-complementary
#21369D #9D4A21 #749D21
monochromatic
#0C1338 #16256A #21369D #2C47D0 #5C72DD

Accessibility & contrast

On white

10.10
#21369D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#21369D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21369D
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21369D#FFFFFF#000000##FFFFFF
##21369D1.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A0
Deuteranopia (green-blind)
#003C9B
Tritanopia (blue-blind)
#005164
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #21369d;
/* rgb */ color: rgb(33, 54, 157);
/* oklch */ color: oklch(39.0% 0.168 268.2);
Tailwind
colors: {
  custom: {
    50: '#726dbb',
    500: '#21369d',
    950: '#000000',
  },
}
SCSS
$custom: #21369d;
$custom-light: #726dbb;
$custom-dark: #000000;
JSON
{
  "hex": "#21369d",
  "rgb": {
    "r": 33,
    "g": 54,
    "b": 157
  },
  "hsl": {
    "h": 229.839,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.38983,
    "c": 0.16822,
    "h": 268.2
  },
  "luminance": 0.05396
}

Semantic roles & 50–950 ramp

primary
#21369D
secondary
#C1AF59
accent
#CC40E8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #21369D

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

Preview Lab → · Contrast checker → · Palette generator →

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