#21359C#21359C

#21359C is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.7% C 0.168 H 268.4°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#21359C
RGBrgb(33, 53, 156)
HSLhsl(230, 65%, 37%)
HSVhsv(230, 79%, 61%)
CMYKcmyk(78.8%, 66%, 0%, 38.8%)
CIE-LABlab(27.49, 30.75, -58.06)
CIE-LCHlch(27.49, 65.70, 297.91°)
OKLaboklab(38.7% -0.0047 -0.168)
OKLCHoklch(38.7% 0.168 268.4)
XYZxyz(7.8990, 5.2689, 32.0467)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21359C #9C8821
analogous
#21739C #21359C #4B219C
triadic
#21359C #9C2135 #359C21
tetradic
#21359C #9C2173 #9C8821 #219C4B
square
#21359C #9C2173 #9C8821 #219C4B
split-complementary
#21359C #9C4B21 #739C21
monochromatic
#0C1337 #162469 #21359C #2C46CF #5B70DC

Accessibility & contrast

On white

10.22
#21359C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#21359C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21359C
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21359C#FFFFFF#000000##FFFFFF
##21359C1.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479F
Deuteranopia (green-blind)
#003B9A
Tritanopia (blue-blind)
#005063
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #21359c;
/* rgb */ color: rgb(33, 53, 156);
/* oklch */ color: oklch(38.7% 0.168 268.4);
Tailwind
colors: {
  custom: {
    50: '#716cba',
    500: '#21359c',
    950: '#000000',
  },
}
SCSS
$custom: #21359c;
$custom-light: #716cba;
$custom-dark: #000000;
JSON
{
  "hex": "#21359c",
  "rgb": {
    "r": 33,
    "g": 53,
    "b": 156
  },
  "hsl": {
    "h": 230.244,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.38702,
    "c": 0.16808,
    "h": 268.4
  },
  "luminance": 0.0527
}

Semantic roles & 50–950 ramp

primary
#21359C
secondary
#C1B058
accent
#CD40E8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #21359C

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

Preview Lab → · Contrast checker → · Palette generator →

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