#2420AA#2420AA

#2420AA is a dark, highly saturated blue. Relative luminance 0.043; OKLCH L 37.2% C 0.206 H 271.5°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#2420AA
RGBrgb(36, 32, 170)
HSLhsl(242, 68%, 40%)
HSVhsv(242, 81%, 67%)
CMYKcmyk(78.8%, 81.2%, 0%, 33.3%)
CIE-LABlab(24.67, 48.27, -71.19)
CIE-LCHlch(24.67, 86.02, 304.14°)
OKLaboklab(37.17% 0.0052 -0.2061)
OKLCHoklch(37.17% 0.206 271.5)
XYZxyz(8.4973, 4.3094, 38.4064)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2420AA #A6AA20
analogous
#2061AA #2420AA #6920AA
triadic
#2420AA #AA2420 #20AA24
tetradic
#2420AA #AA2061 #A6AA20 #20AA69
square
#2420AA #AA2061 #A6AA20 #20AA69
split-complementary
#2420AA #AA6920 #61AA20
monochromatic
#0E0D43 #191676 #2420AA #342FD8 #6663E2

Accessibility & contrast

On white

11.28
#2420AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2420AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2420AA#FFFFFF#000000##FFFFFF
##2420AA1.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2420aa;
/* rgb */ color: rgb(36, 32, 170);
/* oklch */ color: oklch(37.2% 0.206 271.5);
Tailwind
colors: {
  custom: {
    50: '#785fc5',
    500: '#2420aa',
    950: '#000000',
  },
}
SCSS
$custom: #2420aa;
$custom-light: #785fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#2420aa",
  "rgb": {
    "r": 36,
    "g": 32,
    "b": 170
  },
  "hsl": {
    "h": 241.739,
    "s": 68.317,
    "l": 39.608
  },
  "oklch": {
    "l": 0.37166,
    "c": 0.20613,
    "h": 271.5
  },
  "luminance": 0.0431
}

Semantic roles & 50–950 ramp

primary
#2420AA
secondary
#C4C75F
accent
#EB3DE6
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2420AA

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

Preview Lab → · Contrast checker → · Palette generator →

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