#2420A8#2420A8

#2420A8 is a dark, highly saturated blue. Relative luminance 0.042; OKLCH L 36.9% C 0.204 H 271.6°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#2420A8
RGBrgb(36, 32, 168)
HSLhsl(242, 68%, 39%)
HSVhsv(242, 81%, 66%)
CMYKcmyk(78.6%, 81%, 0%, 34.1%)
CIE-LABlab(24.43, 47.64, -70.38)
CIE-LCHlch(24.43, 84.99, 304.09°)
OKLaboklab(36.93% 0.0057 -0.2037)
OKLCHoklch(36.93% 0.204 271.6)
XYZxyz(8.3096, 4.2343, 37.4176)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2420A8 #A4A820
analogous
#2060A8 #2420A8 #6820A8
triadic
#2420A8 #A82420 #20A824
tetradic
#2420A8 #A82060 #A4A820 #20A868
square
#2420A8 #A82060 #A4A820 #20A868
split-complementary
#2420A8 #A86820 #60A820
monochromatic
#0E0C41 #191675 #2420A8 #332ED7 #6561E1

Accessibility & contrast

On white

11.37
#2420A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#2420A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2420A8#FFFFFF#000000##FFFFFF
##2420A81.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041AC
Deuteranopia (green-blind)
#0033A6
Tritanopia (blue-blind)
#004B65
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2420a8;
/* rgb */ color: rgb(36, 32, 168);
/* oklch */ color: oklch(36.9% 0.204 271.6);
Tailwind
colors: {
  custom: {
    50: '#775fc3',
    500: '#2420a8',
    950: '#000000',
  },
}
SCSS
$custom: #2420a8;
$custom-light: #775fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#2420a8",
  "rgb": {
    "r": 36,
    "g": 32,
    "b": 168
  },
  "hsl": {
    "h": 241.765,
    "s": 68,
    "l": 39.216
  },
  "oklch": {
    "l": 0.36932,
    "c": 0.20379,
    "h": 271.6
  },
  "luminance": 0.04235
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2420A8

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

Preview Lab → · Contrast checker → · Palette generator →

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