#21357E#21357E

#21357E is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.0% C 0.126 H 267.9°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#21357E
RGBrgb(33, 53, 126)
HSLhsl(227, 58%, 31%)
HSVhsv(227, 74%, 49%)
CMYKcmyk(73.8%, 57.9%, 0%, 50.6%)
CIE-LABlab(24.88, 19.12, -43.74)
CIE-LCHlch(24.88, 47.74, 293.61°)
OKLaboklab(35.95% -0.0046 -0.126)
OKLCHoklch(35.95% 0.126 267.9)
XYZxyz(5.6649, 4.3753, 20.2806)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21357E #7E6A21
analogous
#21637E #21357E #3B217E
triadic
#21357E #7E2135 #357E21
tetradic
#21357E #7E2163 #7E6A21 #217E3B
square
#21357E #7E2163 #7E6A21 #217E3B
split-complementary
#21357E #7E3B21 #637E21
monochromatic
#080C1D #14214E #21357E #2E49AE #4A67D0

Accessibility & contrast

On white

11.20
#21357E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#21357E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21357E
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21357E#FFFFFF#000000##FFFFFF
##21357E1.0011.201.8811.20
#FFFFFF11.201.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F81
Deuteranopia (green-blind)
#00377D
Tritanopia (blue-blind)
#004754
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #21357e;
/* rgb */ color: rgb(33, 53, 126);
/* oklch */ color: oklch(36.0% 0.126 267.9);
Tailwind
colors: {
  custom: {
    50: '#6a6ba4',
    500: '#21357e',
    950: '#000000',
  },
}
SCSS
$custom: #21357e;
$custom-light: #6a6ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#21357e",
  "rgb": {
    "r": 33,
    "g": 53,
    "b": 126
  },
  "hsl": {
    "h": 227.097,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.35953,
    "c": 0.12611,
    "h": 267.9
  },
  "luminance": 0.04376
}

Semantic roles & 50–950 ramp

primary
#21357E
secondary
#B19B4A
accent
#C046E2
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #21357E

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

Preview Lab → · Contrast checker → · Palette generator →

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