#21357B#21357B

#21357B is a dark, vivid blue. Relative luminance 0.043; OKLCH L 35.7% C 0.122 H 267.7°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#21357B
RGBrgb(33, 53, 123)
HSLhsl(227, 58%, 31%)
HSVhsv(227, 73%, 48%)
CMYKcmyk(73.2%, 56.9%, 0%, 51.8%)
CIE-LABlab(24.64, 17.94, -42.24)
CIE-LCHlch(24.64, 45.89, 293.01°)
OKLaboklab(35.7% -0.0048 -0.1216)
OKLCHoklch(35.7% 0.122 267.7)
XYZxyz(5.4742, 4.2990, 19.2764)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21357B #7B6721
analogous
#21627B #21357B #3A217B
triadic
#21357B #7B2135 #357B21
tetradic
#21357B #7B2162 #7B6721 #217B3A
square
#21357B #7B2162 #7B6721 #217B3A
split-complementary
#21357B #7B3A21 #627B21
monochromatic
#070B1A #14204B #21357B #2E4AAB #4866CE

Accessibility & contrast

On white

11.29
#21357B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#21357B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21357B
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21357B#FFFFFF#000000##FFFFFF
##21357B1.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F7D
Deuteranopia (green-blind)
#00377A
Tritanopia (blue-blind)
#004652
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #21357b;
/* rgb */ color: rgb(33, 53, 123);
/* oklch */ color: oklch(35.7% 0.122 267.7);
Tailwind
colors: {
  custom: {
    50: '#696ba2',
    500: '#21357b',
    950: '#000000',
  },
}
SCSS
$custom: #21357b;
$custom-light: #696ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#21357b",
  "rgb": {
    "r": 33,
    "g": 53,
    "b": 123
  },
  "hsl": {
    "h": 226.667,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.35698,
    "c": 0.12169,
    "h": 267.7
  },
  "luminance": 0.043
}

Semantic roles & 50–950 ramp

primary
#21357B
secondary
#AE984A
accent
#BF47E1
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #21357B

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

Preview Lab → · Contrast checker → · Palette generator →

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