#2524A3#2524A3

#2524A3 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.9% C 0.194 H 272.0°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#2524A3
RGBrgb(37, 36, 163)
HSLhsl(240, 64%, 39%)
HSVhsv(240, 78%, 64%)
CMYKcmyk(77.3%, 77.9%, 0%, 36.1%)
CIE-LABlab(24.63, 44.00, -67.01)
CIE-LCHlch(24.63, 80.16, 303.29°)
OKLaboklab(36.92% 0.0066 -0.194)
OKLCHoklch(36.92% 0.194 272)
XYZxyz(8.0025, 4.2985, 35.0512)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2524A3 #A2A324
analogous
#2463A3 #2524A3 #6524A3
triadic
#2524A3 #A32524 #24A325
tetradic
#2524A3 #A32463 #A2A324 #24A365
square
#2524A3 #A32463 #A2A324 #24A365
split-complementary
#2524A3 #A36524 #63A324
monochromatic
#0E0E3F #1A1971 #2524A3 #3432D2 #6565DD

Accessibility & contrast

On white

11.29
#2524A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2524A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2524A3
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2524A3#FFFFFF#000000##FFFFFF
##2524A31.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A7
Deuteranopia (green-blind)
#0034A1
Tritanopia (blue-blind)
#004A63
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2524a3;
/* rgb */ color: rgb(37, 36, 163);
/* oklch */ color: oklch(36.9% 0.194 272.0);
Tailwind
colors: {
  custom: {
    50: '#7661c0',
    500: '#2524a3',
    950: '#000000',
  },
}
SCSS
$custom: #2524a3;
$custom-light: #7661c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2524a3",
  "rgb": {
    "r": 37,
    "g": 36,
    "b": 163
  },
  "hsl": {
    "h": 240.472,
    "s": 63.819,
    "l": 39.02
  },
  "oklch": {
    "l": 0.36921,
    "c": 0.19408,
    "h": 272
  },
  "luminance": 0.04299
}

Semantic roles & 50–950 ramp

primary
#2524A3
secondary
#C2C260
accent
#E741E6
background
#F7F5FC
surface
#EEEAF8
border
#C9C6D1
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2524A3

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

Preview Lab → · Contrast checker → · Palette generator →

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