#2420AC#2420AC

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

Color values

HEX#2420AC
RGBrgb(36, 32, 172)
HSLhsl(242, 69%, 40%)
HSVhsv(242, 81%, 67%)
CMYKcmyk(79.1%, 81.4%, 0%, 32.5%)
CIE-LABlab(24.91, 48.91, -72.00)
CIE-LCHlch(24.91, 87.04, 304.19°)
OKLaboklab(37.4% 0.0048 -0.2084)
OKLCHoklch(37.4% 0.208 271.3)
XYZxyz(8.6879, 4.3857, 39.4104)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2420AC #A8AC20
analogous
#2062AC #2420AC #6A20AC
triadic
#2420AC #AC2420 #20AC24
tetradic
#2420AC #AC2062 #A8AC20 #20AC6A
square
#2420AC #AC2062 #A8AC20 #20AC6A
split-complementary
#2420AC #AC6A20 #62AC20
monochromatic
#0E0D45 #191678 #2420AC #3531D9 #6864E2

Accessibility & contrast

On white

11.19
#2420AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2420AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2420AC
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2420AC#FFFFFF#000000##FFFFFF
##2420AC1.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2420ac;
/* rgb */ color: rgb(36, 32, 172);
/* oklch */ color: oklch(37.4% 0.208 271.3);
Tailwind
colors: {
  custom: {
    50: '#785fc6',
    500: '#2420ac',
    950: '#000000',
  },
}
SCSS
$custom: #2420ac;
$custom-light: #785fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#2420ac",
  "rgb": {
    "r": 36,
    "g": 32,
    "b": 172
  },
  "hsl": {
    "h": 241.714,
    "s": 68.627,
    "l": 40
  },
  "oklch": {
    "l": 0.37401,
    "c": 0.20847,
    "h": 271.3
  },
  "luminance": 0.04387
}

Semantic roles & 50–950 ramp

primary
#2420AC
secondary
#C4C760
accent
#EB3CE6
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2420AC

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

Preview Lab → · Contrast checker → · Palette generator →

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