#21358C#21358C

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

Color values

HEX#21358C
RGBrgb(33, 53, 140)
HSLhsl(229, 62%, 34%)
HSVhsv(229, 76%, 55%)
CMYKcmyk(76.4%, 62.1%, 0%, 45.1%)
CIE-LABlab(26.05, 24.61, -50.58)
CIE-LCHlch(26.05, 56.25, 295.95°)
OKLaboklab(37.19% -0.0043 -0.1461)
OKLCHoklch(37.19% 0.146 268.3)
XYZxyz(6.6323, 4.7623, 25.3755)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21358C #8C7821
analogous
#216B8C #21358C #43218C
triadic
#21358C #8C2135 #358C21
tetradic
#21358C #8C216B #8C7821 #218C43
square
#21358C #8C216B #8C7821 #218C43
split-complementary
#21358C #8C4321 #6B8C21
monochromatic
#0A1029 #15225A #21358C #2D48BE #516AD6

Accessibility & contrast

On white

10.75
#21358C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #21358C
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21358C#FFFFFF#000000##FFFFFF
##21358C1.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438F
Deuteranopia (green-blind)
#00398A
Tritanopia (blue-blind)
#004B5B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #21358c;
/* rgb */ color: rgb(33, 53, 140);
/* oklch */ color: oklch(37.2% 0.146 268.3);
Tailwind
colors: {
  custom: {
    50: '#6d6cae',
    500: '#21358c',
    950: '#000000',
  },
}
SCSS
$custom: #21358c;
$custom-light: #6d6cae;
$custom-dark: #000000;
JSON
{
  "hex": "#21358c",
  "rgb": {
    "r": 33,
    "g": 53,
    "b": 140
  },
  "hsl": {
    "h": 228.785,
    "s": 61.85,
    "l": 33.922
  },
  "oklch": {
    "l": 0.37194,
    "c": 0.14617,
    "h": 268.3
  },
  "luminance": 0.04763
}

Semantic roles & 50–950 ramp

primary
#21358C
secondary
#B9A64F
accent
#C743E5
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #21358C

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

Preview Lab → · Contrast checker → · Palette generator →

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