#21357C#21357C

#21357C is a dark, vivid blue. Relative luminance 0.043; OKLCH L 35.8% C 0.123 H 267.8°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#21357C
RGBrgb(33, 53, 124)
HSLhsl(227, 58%, 31%)
HSVhsv(227, 73%, 49%)
CMYKcmyk(73.4%, 57.3%, 0%, 51.4%)
CIE-LABlab(24.72, 18.33, -42.74)
CIE-LCHlch(24.72, 46.51, 293.21°)
OKLaboklab(35.78% -0.0048 -0.1231)
OKLCHoklch(35.78% 0.123 267.8)
XYZxyz(5.5371, 4.3242, 19.6077)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21357C #7C6821
analogous
#21627C #21357C #3A217C
triadic
#21357C #7C2135 #357C21
tetradic
#21357C #7C2162 #7C6821 #217C3A
square
#21357C #7C2162 #7C6821 #217C3A
split-complementary
#21357C #7C3A21 #627C21
monochromatic
#070C1B #14204C #21357C #2E4AAC #4966CF

Accessibility & contrast

On white

11.26
#21357C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#21357C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21357C
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21357C#FFFFFF#000000##FFFFFF
##21357C1.0011.261.8711.26
#FFFFFF11.261.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F7E
Deuteranopia (green-blind)
#00377B
Tritanopia (blue-blind)
#004653
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #21357c;
/* rgb */ color: rgb(33, 53, 124);
/* oklch */ color: oklch(35.8% 0.123 267.8);
Tailwind
colors: {
  custom: {
    50: '#696ba2',
    500: '#21357c',
    950: '#000000',
  },
}
SCSS
$custom: #21357c;
$custom-light: #696ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#21357c",
  "rgb": {
    "r": 33,
    "g": 53,
    "b": 124
  },
  "hsl": {
    "h": 226.813,
    "s": 57.962,
    "l": 30.784
  },
  "oklch": {
    "l": 0.35782,
    "c": 0.12316,
    "h": 267.8
  },
  "luminance": 0.04325
}

Semantic roles & 50–950 ramp

primary
#21357C
secondary
#AF994A
accent
#BF47E1
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #21357C

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

Preview Lab → · Contrast checker → · Palette generator →

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