#21347A#21347A

#21347A is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.4% C 0.122 H 268.1°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#21347A
RGBrgb(33, 52, 122)
HSLhsl(227, 57%, 30%)
HSVhsv(227, 73%, 48%)
CMYKcmyk(73%, 57.4%, 0%, 52.2%)
CIE-LABlab(24.27, 18.24, -42.20)
CIE-LCHlch(24.27, 45.97, 293.38°)
OKLaboklab(35.4% -0.004 -0.1215)
OKLCHoklch(35.4% 0.122 268.1)
XYZxyz(5.3668, 4.1839, 18.9333)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21347A #7A6721
analogous
#21607A #21347A #3A217A
triadic
#21347A #7A2134 #347A21
tetradic
#21347A #7A2160 #7A6721 #217A3A
square
#21347A #7A2160 #7A6721 #217A3A
split-complementary
#21347A #7A3A21 #607A21
monochromatic
#070B1A #141F4A #21347A #2E49AA #4864CD

Accessibility & contrast

On white

11.43
#21347A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#21347A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21347A
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21347A#FFFFFF#000000##FFFFFF
##21347A1.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7C
Deuteranopia (green-blind)
#003679
Tritanopia (blue-blind)
#004551
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #21347a;
/* rgb */ color: rgb(33, 52, 122);
/* oklch */ color: oklch(35.4% 0.122 268.1);
Tailwind
colors: {
  custom: {
    50: '#696ba1',
    500: '#21347a',
    950: '#000000',
  },
}
SCSS
$custom: #21347a;
$custom-light: #696ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#21347a",
  "rgb": {
    "r": 33,
    "g": 52,
    "b": 122
  },
  "hsl": {
    "h": 227.191,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.35397,
    "c": 0.12156,
    "h": 268.1
  },
  "luminance": 0.04184
}

Semantic roles & 50–950 ramp

primary
#21347A
secondary
#AD984A
accent
#C047E1
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #21347A

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

Preview Lab → · Contrast checker → · Palette generator →

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