#21349A#21349A

#21349A is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.3% C 0.167 H 268.6°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#21349A
RGBrgb(33, 52, 154)
HSLhsl(231, 65%, 37%)
HSVhsv(231, 79%, 60%)
CMYKcmyk(78.6%, 66.2%, 0%, 39.6%)
CIE-LABlab(27.05, 30.66, -57.56)
CIE-LCHlch(27.05, 65.21, 298.04°)
OKLaboklab(38.32% -0.004 -0.1665)
OKLCHoklch(38.32% 0.167 268.6)
XYZxyz(7.6859, 5.1115, 31.1471)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21349A #9A8721
analogous
#21719A #21349A #4B219A
triadic
#21349A #9A2134 #349A21
tetradic
#21349A #9A2171 #9A8721 #219A4B
square
#21349A #9A2171 #9A8721 #219A4B
split-complementary
#21349A #9A4B21 #719A21
monochromatic
#0B1235 #162368 #21349A #2C45CC #5A6EDC

Accessibility & contrast

On white

10.38
#21349A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#21349A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21349A
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21349A#FFFFFF#000000##FFFFFF
##21349A1.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469D
Deuteranopia (green-blind)
#003A98
Tritanopia (blue-blind)
#004F62
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #21349a;
/* rgb */ color: rgb(33, 52, 154);
/* oklch */ color: oklch(38.3% 0.167 268.6);
Tailwind
colors: {
  custom: {
    50: '#716bb9',
    500: '#21349a',
    950: '#000000',
  },
}
SCSS
$custom: #21349a;
$custom-light: #716bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#21349a",
  "rgb": {
    "r": 33,
    "g": 52,
    "b": 154
  },
  "hsl": {
    "h": 230.579,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.38324,
    "c": 0.1666,
    "h": 268.6
  },
  "luminance": 0.05112
}

Semantic roles & 50–950 ramp

primary
#21349A
secondary
#C0AF57
accent
#CD40E8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #21349A

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

Preview Lab → · Contrast checker → · Palette generator →

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