#21358A#21358A

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

Color values

HEX#21358A
RGBrgb(33, 53, 138)
HSLhsl(229, 61%, 34%)
HSVhsv(229, 76%, 54%)
CMYKcmyk(76.1%, 61.6%, 0%, 45.9%)
CIE-LABlab(25.87, 23.83, -49.63)
CIE-LCHlch(25.87, 55.05, 295.65°)
OKLaboklab(37.01% -0.0043 -0.1433)
OKLCHoklch(37.01% 0.143 268.3)
XYZxyz(6.4862, 4.7038, 24.6059)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21358A #8A7621
analogous
#21698A #21358A #41218A
triadic
#21358A #8A2135 #358A21
tetradic
#21358A #8A2169 #8A7621 #218A41
square
#21358A #8A2169 #8A7621 #218A41
split-complementary
#21358A #8A4121 #698A21
monochromatic
#090F27 #152259 #21358A #2D48BB #506AD5

Accessibility & contrast

On white

10.82
#21358A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#21358A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21358A
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21358A#FFFFFF#000000##FFFFFF
##21358A1.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428D
Deuteranopia (green-blind)
#003988
Tritanopia (blue-blind)
#004B5A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #21358a;
/* rgb */ color: rgb(33, 53, 138);
/* oklch */ color: oklch(37.0% 0.143 268.3);
Tailwind
colors: {
  custom: {
    50: '#6d6cad',
    500: '#21358a',
    950: '#000000',
  },
}
SCSS
$custom: #21358a;
$custom-light: #6d6cad;
$custom-dark: #000000;
JSON
{
  "hex": "#21358a",
  "rgb": {
    "r": 33,
    "g": 53,
    "b": 138
  },
  "hsl": {
    "h": 228.571,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.37012,
    "c": 0.14336,
    "h": 268.3
  },
  "luminance": 0.04705
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #21358A

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

Preview Lab → · Contrast checker → · Palette generator →

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