#2420BE#2420BE

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

Color values

HEX#2420BE
RGBrgb(36, 32, 190)
HSLhsl(242, 71%, 44%)
HSVhsv(242, 83%, 75%)
CMYKcmyk(81.1%, 83.2%, 0%, 25.5%)
CIE-LABlab(27.09, 54.46, -79.12)
CIE-LCHlch(27.09, 96.05, 304.54°)
OKLaboklab(39.54% 0.0008 -0.229)
OKLCHoklch(39.54% 0.229 270.2)
XYZxyz(10.5352, 5.1246, 49.1391)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2420BE #BABE20
analogous
#206BBE #2420BE #7320BE
triadic
#2420BE #BE2420 #20BE24
tetradic
#2420BE #BE206B #BABE20 #20BE73
square
#2420BE #BE206B #BABE20 #20BE73
split-complementary
#2420BE #BE7320 #6BBE20
monochromatic
#100E55 #1A178A #2420BE #413DDE #7471E7

Accessibility & contrast

On white

10.37
#2420BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#2420BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2420BE#FFFFFF#000000##FFFFFF
##2420BE1.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048C2
Deuteranopia (green-blind)
#0038BB
Tritanopia (blue-blind)
#005471
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2420be;
/* rgb */ color: rgb(36, 32, 190);
/* oklch */ color: oklch(39.5% 0.229 270.2);
Tailwind
colors: {
  custom: {
    50: '#7d61d3',
    500: '#2420be',
    950: '#000000',
  },
}
SCSS
$custom: #2420be;
$custom-light: #7d61d3;
$custom-dark: #000000;
JSON
{
  "hex": "#2420be",
  "rgb": {
    "r": 36,
    "g": 32,
    "b": 190
  },
  "hsl": {
    "h": 241.519,
    "s": 71.171,
    "l": 43.529
  },
  "oklch": {
    "l": 0.39536,
    "c": 0.22901,
    "h": 270.2
  },
  "luminance": 0.05126
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2420BE

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

Preview Lab → · Contrast checker → · Palette generator →

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