#2524A0#2524A0

#2524A0 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.6% C 0.190 H 272.2°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#2524A0
RGBrgb(37, 36, 160)
HSLhsl(240, 63%, 38%)
HSVhsv(240, 78%, 63%)
CMYKcmyk(76.9%, 77.5%, 0%, 37.3%)
CIE-LABlab(24.30, 43.00, -65.74)
CIE-LCHlch(24.30, 78.56, 303.19°)
OKLaboklab(36.59% 0.0072 -0.1903)
OKLCHoklch(36.59% 0.19 272.2)
XYZxyz(7.7369, 4.1923, 33.6523)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2524A0 #9FA024
analogous
#2461A0 #2524A0 #6324A0
triadic
#2524A0 #A02524 #24A025
tetradic
#2524A0 #A02461 #9FA024 #24A063
square
#2524A0 #A02461 #9FA024 #24A063
split-complementary
#2524A0 #A06324 #61A024
monochromatic
#0E0E3C #19196E #2524A0 #3231D1 #6463DC

Accessibility & contrast

On white

11.42
#2524A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2524A0
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2524A0#FFFFFF#000000##FFFFFF
##2524A01.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.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: #2524a0;
/* rgb */ color: rgb(37, 36, 160);
/* oklch */ color: oklch(36.6% 0.190 272.2);
Tailwind
colors: {
  custom: {
    50: '#7561bd',
    500: '#2524a0',
    950: '#000000',
  },
}
SCSS
$custom: #2524a0;
$custom-light: #7561bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2524a0",
  "rgb": {
    "r": 37,
    "g": 36,
    "b": 160
  },
  "hsl": {
    "h": 240.484,
    "s": 63.265,
    "l": 38.431
  },
  "oklch": {
    "l": 0.36585,
    "c": 0.19044,
    "h": 272.2
  },
  "luminance": 0.04193
}

Semantic roles & 50–950 ramp

primary
#2524A0
secondary
#C0C15F
accent
#E641E5
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2524A0

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

Preview Lab → · Contrast checker → · Palette generator →

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