#2420A0#2420A0

#2420A0 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 36.0% C 0.194 H 272.2°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#2420A0
RGBrgb(36, 32, 160)
HSLhsl(242, 67%, 38%)
HSVhsv(242, 80%, 63%)
CMYKcmyk(77.5%, 80%, 0%, 37.3%)
CIE-LABlab(23.49, 45.07, -67.08)
CIE-LCHlch(23.49, 80.82, 303.90°)
OKLaboklab(36% 0.0075 -0.1941)
OKLCHoklch(36% 0.194 272.2)
XYZxyz(7.5871, 3.9453, 33.6126)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2420A0 #9CA020
analogous
#205CA0 #2420A0 #6420A0
triadic
#2420A0 #A02420 #20A024
tetradic
#2420A0 #A0205C #9CA020 #20A064
square
#2420A0 #A0205C #9CA020 #20A064
split-complementary
#2420A0 #A06420 #5CA020
monochromatic
#0D0C3A #19166D #2420A0 #2F2AD3 #605CDE

Accessibility & contrast

On white

11.74
#2420A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#2420A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2420A0
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2420A0#FFFFFF#000000##FFFFFF
##2420A01.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA4
Deuteranopia (green-blind)
#00329E
Tritanopia (blue-blind)
#004860
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2420a0;
/* rgb */ color: rgb(36, 32, 160);
/* oklch */ color: oklch(36.0% 0.194 272.2);
Tailwind
colors: {
  custom: {
    50: '#755ebd',
    500: '#2420a0',
    950: '#000000',
  },
}
SCSS
$custom: #2420a0;
$custom-light: #755ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#2420a0",
  "rgb": {
    "r": 36,
    "g": 32,
    "b": 160
  },
  "hsl": {
    "h": 241.875,
    "s": 66.667,
    "l": 37.647
  },
  "oklch": {
    "l": 0.36002,
    "c": 0.19429,
    "h": 272.2
  },
  "luminance": 0.03946
}

Semantic roles & 50–950 ramp

primary
#2420A0
secondary
#BFC359
accent
#EA3EE4
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2420A0

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

Preview Lab → · Contrast checker → · Palette generator →

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