#2524C1#2524C1

#2524C1 is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 40.4% C 0.229 H 270.1°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#2524C1
RGBrgb(37, 36, 193)
HSLhsl(240, 69%, 45%)
HSVhsv(240, 81%, 76%)
CMYKcmyk(80.8%, 81.3%, 0%, 24.3%)
CIE-LABlab(28.12, 53.59, -79.17)
CIE-LCHlch(28.12, 95.60, 304.09°)
OKLaboklab(40.37% 0.0004 -0.2292)
OKLCHoklch(40.37% 0.229 270.1)
XYZxyz(11.0162, 5.5040, 50.9235)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2524C1 #C0C124
analogous
#2472C1 #2524C1 #7324C1
triadic
#2524C1 #C12524 #24C125
tetradic
#2524C1 #C12472 #C0C124 #24C173
square
#2524C1 #C12472 #C0C124 #24C173
split-complementary
#2524C1 #C17324 #72C124
monochromatic
#11115A #1B1A8D #2524C1 #4746DC #7A79E6

Accessibility & contrast

On white

10.00
#2524C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#2524C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2524C1
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2524C1#FFFFFF#000000##FFFFFF
##2524C11.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AC5
Deuteranopia (green-blind)
#003ABE
Tritanopia (blue-blind)
#005674
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2524c1;
/* rgb */ color: rgb(37, 36, 193);
/* oklch */ color: oklch(40.4% 0.229 270.1);
Tailwind
colors: {
  custom: {
    50: '#7e63d5',
    500: '#2524c1',
    950: '#000000',
  },
}
SCSS
$custom: #2524c1;
$custom-light: #7e63d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2524c1",
  "rgb": {
    "r": 37,
    "g": 36,
    "b": 193
  },
  "hsl": {
    "h": 240.382,
    "s": 68.559,
    "l": 44.902
  },
  "oklch": {
    "l": 0.40373,
    "c": 0.2292,
    "h": 270.1
  },
  "luminance": 0.05505
}

Semantic roles & 50–950 ramp

primary
#2524C1
secondary
#CDCE73
accent
#EB3CEA
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0514
muted
#7D7A83

Preview Lab

Preview with #2524C1

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

Preview Lab → · Contrast checker → · Palette generator →

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