#2420B1#2420B1

#2420B1 is a dark, highly saturated blue. Relative luminance 0.046; OKLCH L 38.0% C 0.214 H 271.0°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#2420B1
RGBrgb(36, 32, 177)
HSLhsl(242, 69%, 41%)
HSVhsv(242, 82%, 69%)
CMYKcmyk(79.7%, 81.9%, 0%, 30.6%)
CIE-LABlab(25.51, 50.47, -74.01)
CIE-LCHlch(25.51, 89.58, 304.29°)
OKLaboklab(37.99% 0.0037 -0.2142)
OKLCHoklch(37.99% 0.214 271)
XYZxyz(9.1772, 4.5814, 41.9871)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2420B1 #ADB120
analogous
#2064B1 #2420B1 #6C20B1
triadic
#2420B1 #B12420 #20B124
tetradic
#2420B1 #B12064 #ADB120 #20B16C
square
#2420B1 #B12064 #ADB120 #20B16C
split-complementary
#2420B1 #B16C20 #64B120
monochromatic
#0F0D49 #19177D #2420B1 #3934DA #6B68E4

Accessibility & contrast

On white

10.96
#2420B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2420B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2420B1#FFFFFF#000000##FFFFFF
##2420B11.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B5
Deuteranopia (green-blind)
#0035AF
Tritanopia (blue-blind)
#004E6A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2420b1;
/* rgb */ color: rgb(36, 32, 177);
/* oklch */ color: oklch(38.0% 0.214 271.0);
Tailwind
colors: {
  custom: {
    50: '#7a60ca',
    500: '#2420b1',
    950: '#000000',
  },
}
SCSS
$custom: #2420b1;
$custom-light: #7a60ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2420b1",
  "rgb": {
    "r": 36,
    "g": 32,
    "b": 177
  },
  "hsl": {
    "h": 241.655,
    "s": 69.378,
    "l": 40.98
  },
  "oklch": {
    "l": 0.3799,
    "c": 0.21425,
    "h": 271
  },
  "luminance": 0.04582
}

Semantic roles & 50–950 ramp

primary
#2420B1
secondary
#C6C964
accent
#EC3CE7
background
#F8F5FC
surface
#EFEAF9
border
#CAC6D2
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2420B1

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

Preview Lab → · Contrast checker → · Palette generator →

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