#2524A8#2524A8

#2524A8 is a dark, highly saturated blue. Relative luminance 0.045; OKLCH L 37.5% C 0.200 H 271.6°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#2524A8
RGBrgb(37, 36, 168)
HSLhsl(240, 65%, 40%)
HSVhsv(240, 79%, 66%)
CMYKcmyk(78%, 78.6%, 0%, 34.1%)
CIE-LABlab(25.20, 45.64, -69.10)
CIE-LCHlch(25.20, 82.81, 303.45°)
OKLaboklab(37.49% 0.0056 -0.2)
OKLCHoklch(37.49% 0.2 271.6)
XYZxyz(8.4593, 4.4813, 37.4573)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2524A8 #A7A824
analogous
#2465A8 #2524A8 #6724A8
triadic
#2524A8 #A82524 #24A825
tetradic
#2524A8 #A82465 #A7A824 #24A867
square
#2524A8 #A82465 #A7A824 #24A867
split-complementary
#2524A8 #A86724 #65A824
monochromatic
#0F0E43 #1A1976 #2524A8 #3735D4 #6968DF

Accessibility & contrast

On white

11.07
#2524A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2524A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2524A8
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2524A8#FFFFFF#000000##FFFFFF
##2524A81.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042AC
Deuteranopia (green-blind)
#0035A6
Tritanopia (blue-blind)
#004C65
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2524a8;
/* rgb */ color: rgb(37, 36, 168);
/* oklch */ color: oklch(37.5% 0.200 271.6);
Tailwind
colors: {
  custom: {
    50: '#7761c3',
    500: '#2524a8',
    950: '#000000',
  },
}
SCSS
$custom: #2524a8;
$custom-light: #7761c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2524a8",
  "rgb": {
    "r": 37,
    "g": 36,
    "b": 168
  },
  "hsl": {
    "h": 240.455,
    "s": 64.706,
    "l": 40
  },
  "oklch": {
    "l": 0.37487,
    "c": 0.20011,
    "h": 271.6
  },
  "luminance": 0.04482
}

Semantic roles & 50–950 ramp

primary
#2524A8
secondary
#C4C463
accent
#E840E6
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2524A8

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

Preview Lab → · Contrast checker → · Palette generator →

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