#2524A7#2524A7

#2524A7 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.4% C 0.199 H 271.7°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#2524A7
RGBrgb(37, 36, 167)
HSLhsl(240, 65%, 40%)
HSVhsv(240, 78%, 65%)
CMYKcmyk(77.8%, 78.4%, 0%, 34.5%)
CIE-LABlab(25.09, 45.31, -68.68)
CIE-LCHlch(25.09, 82.28, 303.41°)
OKLaboklab(37.37% 0.0058 -0.1988)
OKLCHoklch(37.37% 0.199 271.7)
XYZxyz(8.3665, 4.4442, 36.9686)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2524A7 #A6A724
analogous
#2465A7 #2524A7 #6724A7
triadic
#2524A7 #A72524 #24A725
tetradic
#2524A7 #A72465 #A6A724 #24A767
square
#2524A7 #A72465 #A6A724 #24A767
split-complementary
#2524A7 #A76724 #65A724
monochromatic
#0F0E42 #1A1975 #2524A7 #3635D3 #6867DE

Accessibility & contrast

On white

11.12
#2524A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2524A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2524A7
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2524A7#FFFFFF#000000##FFFFFF
##2524A71.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042AB
Deuteranopia (green-blind)
#0035A5
Tritanopia (blue-blind)
#004C65
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2524a7;
/* rgb */ color: rgb(37, 36, 167);
/* oklch */ color: oklch(37.4% 0.199 271.7);
Tailwind
colors: {
  custom: {
    50: '#7761c2',
    500: '#2524a7',
    950: '#000000',
  },
}
SCSS
$custom: #2524a7;
$custom-light: #7761c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2524a7",
  "rgb": {
    "r": 37,
    "g": 36,
    "b": 167
  },
  "hsl": {
    "h": 240.458,
    "s": 64.532,
    "l": 39.804
  },
  "oklch": {
    "l": 0.37373,
    "c": 0.19891,
    "h": 271.7
  },
  "luminance": 0.04445
}

Semantic roles & 50–950 ramp

primary
#2524A7
secondary
#C3C463
accent
#E840E6
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0A0513
muted
#7C7982

Preview Lab

Preview with #2524A7

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

Preview Lab → · Contrast checker → · Palette generator →

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