#2421AA#2421AA

#2421AA is a dark, highly saturated blue. Relative luminance 0.044; OKLCH L 37.3% C 0.205 H 271.4°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#2421AA
RGBrgb(36, 33, 170)
HSLhsl(241, 67%, 40%)
HSVhsv(241, 81%, 67%)
CMYKcmyk(78.8%, 80.6%, 0%, 33.3%)
CIE-LABlab(24.84, 47.78, -70.91)
CIE-LCHlch(24.84, 85.50, 303.97°)
OKLaboklab(37.29% 0.005 -0.2053)
OKLCHoklch(37.29% 0.205 271.4)
XYZxyz(8.5247, 4.3641, 38.4155)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2421AA #A7AA21
analogous
#2162AA #2421AA #6921AA
triadic
#2421AA #AA2421 #21AA24
tetradic
#2421AA #AA2162 #A7AA21 #21AA69
square
#2421AA #AA2162 #A7AA21 #21AA69
split-complementary
#2421AA #AA6921 #62AA21
monochromatic
#0E0D43 #191777 #2421AA #3531D7 #6764E1

Accessibility & contrast

On white

11.21
#2421AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2421AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2421AA
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2421AA#FFFFFF#000000##FFFFFF
##2421AA1.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042AE
Deuteranopia (green-blind)
#0034A8
Tritanopia (blue-blind)
#004C66
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2421aa;
/* rgb */ color: rgb(36, 33, 170);
/* oklch */ color: oklch(37.3% 0.205 271.4);
Tailwind
colors: {
  custom: {
    50: '#7860c5',
    500: '#2421aa',
    950: '#000000',
  },
}
SCSS
$custom: #2421aa;
$custom-light: #7860c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2421aa",
  "rgb": {
    "r": 36,
    "g": 33,
    "b": 170
  },
  "hsl": {
    "h": 241.314,
    "s": 67.488,
    "l": 39.804
  },
  "oklch": {
    "l": 0.37286,
    "c": 0.20532,
    "h": 271.4
  },
  "luminance": 0.04365
}

Semantic roles & 50–950 ramp

primary
#2421AA
secondary
#C4C661
accent
#EA3DE7
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2421AA

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

Preview Lab → · Contrast checker → · Palette generator →

#2421AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva