#21369E#21369E

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

Color values

HEX#21369E
RGBrgb(33, 54, 158)
HSLhsl(230, 65%, 37%)
HSVhsv(230, 79%, 62%)
CMYKcmyk(79.1%, 65.8%, 0%, 38%)
CIE-LABlab(27.92, 30.84, -58.56)
CIE-LCHlch(27.92, 66.18, 297.78°)
OKLaboklab(39.08% -0.0054 -0.1695)
OKLCHoklch(39.08% 0.17 268.2)
XYZxyz(8.1158, 5.4294, 32.9614)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21369E #9E8921
analogous
#21759E #21369E #4B219E
triadic
#21369E #9E2136 #369E21
tetradic
#21369E #9E2175 #9E8921 #219E4B
square
#21369E #9E2175 #9E8921 #219E4B
split-complementary
#21369E #9E4B21 #759E21
monochromatic
#0C1339 #16256B #21369E #2C47D1 #5C72DD

Accessibility & contrast

On white

10.07
#21369E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#21369E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21369E
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21369E#FFFFFF#000000##FFFFFF
##21369E1.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A1
Deuteranopia (green-blind)
#003C9C
Tritanopia (blue-blind)
#005265
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #21369e;
/* rgb */ color: rgb(33, 54, 158);
/* oklch */ color: oklch(39.1% 0.170 268.2);
Tailwind
colors: {
  custom: {
    50: '#726dbc',
    500: '#21369e',
    950: '#000000',
  },
}
SCSS
$custom: #21369e;
$custom-light: #726dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#21369e",
  "rgb": {
    "r": 33,
    "g": 54,
    "b": 158
  },
  "hsl": {
    "h": 229.92,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.39079,
    "c": 0.16955,
    "h": 268.2
  },
  "luminance": 0.0543
}

Semantic roles & 50–950 ramp

primary
#21369E
secondary
#C1B059
accent
#CC3FE8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #21369E

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

Preview Lab → · Contrast checker → · Palette generator →

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