#2421AC#2421AC

#2421AC is a dark, highly saturated blue. Relative luminance 0.044; OKLCH L 37.5% C 0.208 H 271.2°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#2421AC
RGBrgb(36, 33, 172)
HSLhsl(241, 68%, 40%)
HSVhsv(241, 81%, 67%)
CMYKcmyk(79.1%, 80.8%, 0%, 32.5%)
CIE-LABlab(25.08, 48.41, -71.72)
CIE-LCHlch(25.08, 86.53, 304.02°)
OKLaboklab(37.52% 0.0045 -0.2076)
OKLCHoklch(37.52% 0.208 271.2)
XYZxyz(8.7153, 4.4404, 39.4195)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2421AC #A9AC21
analogous
#2163AC #2421AC #6921AC
triadic
#2421AC #AC2421 #21AC24
tetradic
#2421AC #AC2163 #A9AC21 #21AC69
square
#2421AC #AC2163 #A9AC21 #21AC69
split-complementary
#2421AC #AC6921 #63AC21
monochromatic
#0F0D45 #191779 #2421AC #3632D8 #6866E2

Accessibility & contrast

On white

11.12
#2421AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2421AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2421AC#FFFFFF#000000##FFFFFF
##2421AC1.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042B0
Deuteranopia (green-blind)
#0034AA
Tritanopia (blue-blind)
#004D67
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2421ac;
/* rgb */ color: rgb(36, 33, 172);
/* oklch */ color: oklch(37.5% 0.208 271.2);
Tailwind
colors: {
  custom: {
    50: '#7860c6',
    500: '#2421ac',
    950: '#000000',
  },
}
SCSS
$custom: #2421ac;
$custom-light: #7860c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2421ac",
  "rgb": {
    "r": 36,
    "g": 33,
    "b": 172
  },
  "hsl": {
    "h": 241.295,
    "s": 67.805,
    "l": 40.196
  },
  "oklch": {
    "l": 0.37519,
    "c": 0.20766,
    "h": 271.2
  },
  "luminance": 0.04441
}

Semantic roles & 50–950 ramp

primary
#2421AC
secondary
#C5C762
accent
#EB3DE7
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2421AC

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

Preview Lab → · Contrast checker → · Palette generator →

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