#2420A6#2420A6

#2420A6 is a dark, highly saturated blue. Relative luminance 0.042; OKLCH L 36.7% C 0.201 H 271.7°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#2420A6
RGBrgb(36, 32, 166)
HSLhsl(242, 68%, 39%)
HSVhsv(242, 81%, 65%)
CMYKcmyk(78.3%, 80.7%, 0%, 34.9%)
CIE-LABlab(24.19, 47.00, -69.56)
CIE-LCHlch(24.19, 83.95, 304.05°)
OKLaboklab(36.7% 0.0061 -0.2013)
OKLCHoklch(36.7% 0.201 271.7)
XYZxyz(8.1247, 4.1604, 36.4438)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2420A6 #A2A620
analogous
#205FA6 #2420A6 #6720A6
triadic
#2420A6 #A62420 #20A624
tetradic
#2420A6 #A6205F #A2A620 #20A667
square
#2420A6 #A6205F #A2A620 #20A667
split-complementary
#2420A6 #A66720 #5FA620
monochromatic
#0E0C3F #191673 #2420A6 #322DD6 #6460E0

Accessibility & contrast

On white

11.46
#2420A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#2420A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2420A6#FFFFFF#000000##FFFFFF
##2420A61.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040AA
Deuteranopia (green-blind)
#0033A4
Tritanopia (blue-blind)
#004A63
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2420a6;
/* rgb */ color: rgb(36, 32, 166);
/* oklch */ color: oklch(36.7% 0.201 271.7);
Tailwind
colors: {
  custom: {
    50: '#775fc2',
    500: '#2420a6',
    950: '#000000',
  },
}
SCSS
$custom: #2420a6;
$custom-light: #775fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#2420a6",
  "rgb": {
    "r": 36,
    "g": 32,
    "b": 166
  },
  "hsl": {
    "h": 241.791,
    "s": 67.677,
    "l": 38.824
  },
  "oklch": {
    "l": 0.36699,
    "c": 0.20143,
    "h": 271.7
  },
  "luminance": 0.04161
}

Semantic roles & 50–950 ramp

primary
#2420A6
secondary
#C2C55D
accent
#EB3DE5
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0A0513
muted
#7C7982

Preview Lab

Preview with #2420A6

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

Preview Lab → · Contrast checker → · Palette generator →

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