#21358D#21358D

#21358D is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.3% C 0.148 H 268.3°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#21358D
RGBrgb(33, 53, 141)
HSLhsl(229, 62%, 34%)
HSVhsv(229, 77%, 55%)
CMYKcmyk(76.6%, 62.4%, 0%, 44.7%)
CIE-LABlab(26.13, 25.00, -51.06)
CIE-LCHlch(26.13, 56.85, 296.09°)
OKLaboklab(37.29% -0.0043 -0.1475)
OKLCHoklch(37.29% 0.148 268.3)
XYZxyz(6.7064, 4.7919, 25.7656)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21358D #8D7921
analogous
#216B8D #21358D #43218D
triadic
#21358D #8D2135 #358D21
tetradic
#21358D #8D216B #8D7921 #218D43
square
#21358D #8D216B #8D7921 #218D43
split-complementary
#21358D #8D4321 #6B8D21
monochromatic
#0A102A #15225B #21358D #2D48BF #526AD6

Accessibility & contrast

On white

10.72
#21358D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#21358D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21358D
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21358D#FFFFFF#000000##FFFFFF
##21358D1.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004390
Deuteranopia (green-blind)
#00398B
Tritanopia (blue-blind)
#004B5B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #21358d;
/* rgb */ color: rgb(33, 53, 141);
/* oklch */ color: oklch(37.3% 0.148 268.3);
Tailwind
colors: {
  custom: {
    50: '#6e6caf',
    500: '#21358d',
    950: '#000000',
  },
}
SCSS
$custom: #21358d;
$custom-light: #6e6caf;
$custom-dark: #000000;
JSON
{
  "hex": "#21358d",
  "rgb": {
    "r": 33,
    "g": 53,
    "b": 141
  },
  "hsl": {
    "h": 228.889,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.37285,
    "c": 0.14758,
    "h": 268.3
  },
  "luminance": 0.04793
}

Semantic roles & 50–950 ramp

primary
#21358D
secondary
#BAA650
accent
#C743E5
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #21358D

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

Preview Lab → · Contrast checker → · Palette generator →

#21358D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva