#2420BD#2420BD

#2420BD is a dark, highly saturated blue. Relative luminance 0.051; OKLCH L 39.4% C 0.228 H 270.2°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#2420BD
RGBrgb(36, 32, 189)
HSLhsl(242, 71%, 43%)
HSVhsv(242, 83%, 74%)
CMYKcmyk(81%, 83.1%, 0%, 25.9%)
CIE-LABlab(26.96, 54.16, -78.73)
CIE-LCHlch(26.96, 95.56, 304.52°)
OKLaboklab(39.42% 0.001 -0.2279)
OKLCHoklch(39.42% 0.228 270.2)
XYZxyz(10.4263, 5.0810, 48.5655)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2420BD #B9BD20
analogous
#206ABD #2420BD #7320BD
triadic
#2420BD #BD2420 #20BD24
tetradic
#2420BD #BD206A #B9BD20 #20BD73
square
#2420BD #BD206A #B9BD20 #20BD73
split-complementary
#2420BD #BD7320 #6ABD20
monochromatic
#100E54 #1A1789 #2420BD #403CDE #7471E7

Accessibility & contrast

On white

10.41
#2420BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#2420BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2420BD#FFFFFF#000000##FFFFFF
##2420BD1.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047C1
Deuteranopia (green-blind)
#0037BA
Tritanopia (blue-blind)
#005371
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2420bd;
/* rgb */ color: rgb(36, 32, 189);
/* oklch */ color: oklch(39.4% 0.228 270.2);
Tailwind
colors: {
  custom: {
    50: '#7d61d2',
    500: '#2420bd',
    950: '#000000',
  },
}
SCSS
$custom: #2420bd;
$custom-light: #7d61d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2420bd",
  "rgb": {
    "r": 36,
    "g": 32,
    "b": 189
  },
  "hsl": {
    "h": 241.529,
    "s": 71.041,
    "l": 43.333
  },
  "oklch": {
    "l": 0.39416,
    "c": 0.22789,
    "h": 270.2
  },
  "luminance": 0.05082
}

Semantic roles & 50–950 ramp

primary
#2420BD
secondary
#CBCD6B
accent
#EE3AE9
background
#F8F5FD
surface
#F0EAFA
border
#CBC6D3
text
#0C0514
muted
#7D7983

Preview Lab

Preview with #2420BD

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

Preview Lab → · Contrast checker → · Palette generator →

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