#21358B#21358B

#21358B is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.1% C 0.145 H 268.3°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#21358B
RGBrgb(33, 53, 139)
HSLhsl(229, 62%, 34%)
HSVhsv(229, 76%, 55%)
CMYKcmyk(76.3%, 61.9%, 0%, 45.5%)
CIE-LABlab(25.96, 24.22, -50.11)
CIE-LCHlch(25.96, 55.65, 295.80°)
OKLaboklab(37.1% -0.0043 -0.1447)
OKLCHoklch(37.1% 0.145 268.3)
XYZxyz(6.5589, 4.7329, 24.9890)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21358B #8B7721
analogous
#216A8B #21358B #42218B
triadic
#21358B #8B2135 #358B21
tetradic
#21358B #8B216A #8B7721 #218B42
square
#21358B #8B216A #8B7721 #218B42
split-complementary
#21358B #8B4221 #6A8B21
monochromatic
#0A0F28 #15225A #21358B #2D48BC #516AD6

Accessibility & contrast

On white

10.79
#21358B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#21358B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21358B
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21358B#FFFFFF#000000##FFFFFF
##21358B1.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438E
Deuteranopia (green-blind)
#003989
Tritanopia (blue-blind)
#004B5A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #21358b;
/* rgb */ color: rgb(33, 53, 139);
/* oklch */ color: oklch(37.1% 0.145 268.3);
Tailwind
colors: {
  custom: {
    50: '#6d6cae',
    500: '#21358b',
    950: '#000000',
  },
}
SCSS
$custom: #21358b;
$custom-light: #6d6cae;
$custom-dark: #000000;
JSON
{
  "hex": "#21358b",
  "rgb": {
    "r": 33,
    "g": 53,
    "b": 139
  },
  "hsl": {
    "h": 228.679,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.37103,
    "c": 0.14477,
    "h": 268.3
  },
  "luminance": 0.04734
}

Semantic roles & 50–950 ramp

primary
#21358B
secondary
#B9A54F
accent
#C643E5
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #21358B

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

Preview Lab → · Contrast checker → · Palette generator →

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