#21345A#21345A

#21345A is a dark, moderate blue. Relative luminance 0.035; OKLCH L 32.9% C 0.072 H 263.0°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#21345A
RGBrgb(33, 52, 90)
HSLhsl(220, 46%, 24%)
HSVhsv(220, 63%, 35%)
CMYKcmyk(63.3%, 42.2%, 0%, 64.7%)
CIE-LABlab(22.01, 5.64, -25.17)
CIE-LCHlch(22.01, 25.79, 282.62°)
OKLaboklab(32.95% -0.0088 -0.0714)
OKLCHoklch(32.95% 0.072 263)
XYZxyz(3.7000, 3.5172, 10.1548)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21345A #5A4721
analogous
#21515A #21345A #2B215A
triadic
#21345A #5A2134 #345A21
tetradic
#21345A #5A2151 #5A4721 #215A2B
square
#21345A #5A2151 #5A4721 #215A2B
split-complementary
#21345A #5A2B21 #515A21
monochromatic
#080D16 #111A2D #21345A #314E87 #4268B4

Accessibility & contrast

On white

12.33
#21345A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#21345A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21345A
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21345A#FFFFFF#000000##FFFFFF
##21345A1.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24385C
Deuteranopia (green-blind)
#1C3259
Tritanopia (blue-blind)
#003C42
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #21345a;
/* rgb */ color: rgb(33, 52, 90);
/* oklch */ color: oklch(32.9% 0.072 263.0);
Tailwind
colors: {
  custom: {
    50: '#626b89',
    500: '#21345a',
    950: '#000000',
  },
}
SCSS
$custom: #21345a;
$custom-light: #626b89;
$custom-dark: #000000;
JSON
{
  "hex": "#21345a",
  "rgb": {
    "r": 33,
    "g": 52,
    "b": 90
  },
  "hsl": {
    "h": 220,
    "s": 46.341,
    "l": 24.118
  },
  "oklch": {
    "l": 0.32946,
    "c": 0.07199,
    "h": 263
  },
  "luminance": 0.03518
}

Semantic roles & 50–950 ramp

primary
#21345A
secondary
#8E7749
accent
#AA52D6
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#05060B
muted
#7A7A7C

Preview Lab

Preview with #21345A

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

Preview Lab → · Contrast checker → · Palette generator →

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