#2424A0#2424A0

#2424A0 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.5% C 0.191 H 271.8°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#2424A0
RGBrgb(36, 36, 160)
HSLhsl(240, 63%, 38%)
HSVhsv(240, 78%, 63%)
CMYKcmyk(77.5%, 77.5%, 0%, 37.3%)
CIE-LABlab(24.24, 42.92, -65.84)
CIE-LCHlch(24.24, 78.60, 303.10°)
OKLaboklab(36.53% 0.0061 -0.1906)
OKLCHoklch(36.53% 0.191 271.8)
XYZxyz(7.7015, 4.1741, 33.6507)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2424A0 #A0A024
analogous
#2462A0 #2424A0 #6224A0
triadic
#2424A0 #A02424 #24A024
tetradic
#2424A0 #A02462 #A0A024 #24A062
square
#2424A0 #A02462 #A0A024 #24A062
split-complementary
#2424A0 #A06224 #62A024
monochromatic
#0E0E3C #19196E #2424A0 #3131D1 #6363DC

Accessibility & contrast

On white

11.44
#2424A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#2424A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2424A0
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2424A0#FFFFFF#000000##FFFFFF
##2424A01.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A4
Deuteranopia (green-blind)
#00339E
Tritanopia (blue-blind)
#004961
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2424a0;
/* rgb */ color: rgb(36, 36, 160);
/* oklch */ color: oklch(36.5% 0.191 271.8);
Tailwind
colors: {
  custom: {
    50: '#7561bd',
    500: '#2424a0',
    950: '#000000',
  },
}
SCSS
$custom: #2424a0;
$custom-light: #7561bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2424a0",
  "rgb": {
    "r": 36,
    "g": 36,
    "b": 160
  },
  "hsl": {
    "h": 240,
    "s": 63.265,
    "l": 38.431
  },
  "oklch": {
    "l": 0.36528,
    "c": 0.19071,
    "h": 271.8
  },
  "luminance": 0.04175
}

Semantic roles & 50–950 ramp

primary
#2424A0
secondary
#C1C15F
accent
#E641E6
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2424A0

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

Preview Lab → · Contrast checker → · Palette generator →

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