#2524A5#2524A5

#2524A5 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.1% C 0.197 H 271.8°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#2524A5
RGBrgb(37, 36, 165)
HSLhsl(240, 64%, 39%)
HSVhsv(240, 78%, 65%)
CMYKcmyk(77.6%, 78.2%, 0%, 35.3%)
CIE-LABlab(24.86, 44.66, -67.85)
CIE-LCHlch(24.86, 81.23, 303.35°)
OKLaboklab(37.15% 0.0062 -0.1964)
OKLCHoklch(37.15% 0.197 271.8)
XYZxyz(8.1831, 4.3708, 36.0024)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2524A5 #A4A524
analogous
#2464A5 #2524A5 #6624A5
triadic
#2524A5 #A52524 #24A525
tetradic
#2524A5 #A52464 #A4A524 #24A566
square
#2524A5 #A52464 #A4A524 #24A566
split-complementary
#2524A5 #A56624 #64A524
monochromatic
#0E0E41 #1A1973 #2524A5 #3534D3 #6766DE

Accessibility & contrast

On white

11.20
#2524A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2524A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2524A5
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2524A5#FFFFFF#000000##FFFFFF
##2524A51.0011.201.8711.20
#FFFFFF11.201.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A9
Deuteranopia (green-blind)
#0034A3
Tritanopia (blue-blind)
#004B64
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2524a5;
/* rgb */ color: rgb(37, 36, 165);
/* oklch */ color: oklch(37.1% 0.197 271.8);
Tailwind
colors: {
  custom: {
    50: '#7761c1',
    500: '#2524a5',
    950: '#000000',
  },
}
SCSS
$custom: #2524a5;
$custom-light: #7761c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2524a5",
  "rgb": {
    "r": 37,
    "g": 36,
    "b": 165
  },
  "hsl": {
    "h": 240.465,
    "s": 64.179,
    "l": 39.412
  },
  "oklch": {
    "l": 0.37147,
    "c": 0.19651,
    "h": 271.8
  },
  "luminance": 0.04372
}

Semantic roles & 50–950 ramp

primary
#2524A5
secondary
#C2C362
accent
#E741E6
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2524A5

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

Preview Lab → · Contrast checker → · Palette generator →

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