#21407A#21407A

#21407A is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.1% C 0.106 H 261.6°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#21407A
RGBrgb(33, 64, 122)
HSLhsl(219, 57%, 30%)
HSVhsv(219, 73%, 48%)
CMYKcmyk(73%, 47.5%, 0%, 52.2%)
CIE-LABlab(27.83, 9.85, -36.46)
CIE-LCHlch(27.83, 37.76, 285.12°)
OKLaboklab(38.11% -0.0154 -0.1044)
OKLCHoklch(38.11% 0.106 261.6)
XYZxyz(5.9722, 5.3946, 19.1351)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21407A #7A5B21
analogous
#216C7A #21407A #2E217A
triadic
#21407A #7A2140 #407A21
tetradic
#21407A #7A216C #7A5B21 #217A2E
square
#21407A #7A216C #7A5B21 #217A2E
split-complementary
#21407A #7A2E21 #6C7A21
monochromatic
#070D1A #14274A #21407A #2E59AA #4876CD

Accessibility & contrast

On white

10.10
#21407A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#21407A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21407A
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21407A#FFFFFF#000000##FFFFFF
##21407A1.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23467C
Deuteranopia (green-blind)
#103E79
Tritanopia (blue-blind)
#004E57
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #21407a;
/* rgb */ color: rgb(33, 64, 122);
/* oklch */ color: oklch(38.1% 0.106 261.6);
Tailwind
colors: {
  custom: {
    50: '#6874a1',
    500: '#21407a',
    950: '#000000',
  },
}
SCSS
$custom: #21407a;
$custom-light: #6874a1;
$custom-dark: #000000;
JSON
{
  "hex": "#21407a",
  "rgb": {
    "r": 33,
    "g": 64,
    "b": 122
  },
  "hsl": {
    "h": 219.101,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.38106,
    "c": 0.10552,
    "h": 261.6
  },
  "luminance": 0.05395
}

Semantic roles & 50–950 ramp

primary
#21407A
secondary
#AD8A4A
accent
#AB47E1
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080F
muted
#7A7B7E

Preview Lab

Preview with #21407A

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

Preview Lab → · Contrast checker → · Palette generator →

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