#2421BC#2421BC

#2421BC is a dark, highly saturated blue. Relative luminance 0.051; OKLCH L 39.4% C 0.226 H 270.3°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#2421BC
RGBrgb(36, 33, 188)
HSLhsl(241, 70%, 43%)
HSVhsv(241, 82%, 74%)
CMYKcmyk(80.9%, 82.4%, 0%, 26.3%)
CIE-LABlab(27.00, 53.40, -78.09)
CIE-LCHlch(27.00, 94.60, 304.37°)
OKLaboklab(39.4% 0.001 -0.226)
OKLCHoklch(39.4% 0.226 270.3)
XYZxyz(10.3454, 5.0924, 48.0049)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2421BC #B9BC21
analogous
#216BBC #2421BC #7121BC
triadic
#2421BC #BC2421 #21BC24
tetradic
#2421BC #BC216B #B9BC21 #21BC71
square
#2421BC #BC216B #B9BC21 #21BC71
split-complementary
#2421BC #BC7121 #6BBC21
monochromatic
#100F54 #1A1888 #2421BC #403DDD #7471E6

Accessibility & contrast

On white

10.40
#2421BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#2421BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2421BC#FFFFFF#000000##FFFFFF
##2421BC1.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047C0
Deuteranopia (green-blind)
#0038B9
Tritanopia (blue-blind)
#005370
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2421bc;
/* rgb */ color: rgb(36, 33, 188);
/* oklch */ color: oklch(39.4% 0.226 270.3);
Tailwind
colors: {
  custom: {
    50: '#7c61d2',
    500: '#2421bc',
    950: '#000000',
  },
}
SCSS
$custom: #2421bc;
$custom-light: #7c61d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2421bc",
  "rgb": {
    "r": 36,
    "g": 33,
    "b": 188
  },
  "hsl": {
    "h": 241.161,
    "s": 70.136,
    "l": 43.333
  },
  "oklch": {
    "l": 0.39404,
    "c": 0.22604,
    "h": 270.3
  },
  "luminance": 0.05094
}

Semantic roles & 50–950 ramp

primary
#2421BC
secondary
#CBCD6C
accent
#ED3BE9
background
#F8F5FD
surface
#F0EAFA
border
#CBC6D3
text
#0C0514
muted
#7D7983

Preview Lab

Preview with #2421BC

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

Preview Lab → · Contrast checker → · Palette generator →

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