#2524C5#2524C5

#2524C5 is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 40.8% C 0.234 H 269.9°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#2524C5
RGBrgb(37, 36, 197)
HSLhsl(240, 69%, 46%)
HSVhsv(240, 82%, 77%)
CMYKcmyk(81.2%, 81.7%, 0%, 22.7%)
CIE-LABlab(28.60, 54.82, -80.73)
CIE-LCHlch(28.60, 97.58, 304.18°)
OKLaboklab(40.84% -0.0004 -0.2337)
OKLCHoklch(40.84% 0.234 269.9)
XYZxyz(11.4684, 5.6849, 53.3054)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2524C5 #C4C524
analogous
#2473C5 #2524C5 #7624C5
triadic
#2524C5 #C52524 #24C525
tetradic
#2524C5 #C52473 #C4C524 #24C576
square
#2524C5 #C52473 #C4C524 #24C576
split-complementary
#2524C5 #C57624 #73C524
monochromatic
#12115E #1B1B91 #2524C5 #4949DE #7D7CE7

Accessibility & contrast

On white

9.83
#2524C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#2524C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2524C5
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2524C5#FFFFFF#000000##FFFFFF
##2524C51.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CC9
Deuteranopia (green-blind)
#003BC2
Tritanopia (blue-blind)
#005876
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2524c5;
/* rgb */ color: rgb(37, 36, 197);
/* oklch */ color: oklch(40.8% 0.234 269.9);
Tailwind
colors: {
  custom: {
    50: '#7f63d8',
    500: '#2524c5',
    950: '#000000',
  },
}
SCSS
$custom: #2524c5;
$custom-light: #7f63d8;
$custom-dark: #000000;
JSON
{
  "hex": "#2524c5",
  "rgb": {
    "r": 37,
    "g": 36,
    "b": 197
  },
  "hsl": {
    "h": 240.373,
    "s": 69.099,
    "l": 45.686
  },
  "oklch": {
    "l": 0.40842,
    "c": 0.23371,
    "h": 269.9
  },
  "luminance": 0.05686
}

Semantic roles & 50–950 ramp

primary
#2524C5
secondary
#CFCF76
accent
#EC3CEB
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0615
muted
#7D7A83

Preview Lab

Preview with #2524C5

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

Preview Lab → · Contrast checker → · Palette generator →

#2524C5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva