#2524BD#2524BD

#2524BD is a dark, highly saturated blue. Relative luminance 0.053; OKLCH L 39.9% C 0.225 H 270.3°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#2524BD
RGBrgb(37, 36, 189)
HSLhsl(240, 68%, 44%)
HSVhsv(240, 81%, 74%)
CMYKcmyk(80.4%, 81%, 0%, 25.9%)
CIE-LABlab(27.65, 52.35, -77.59)
CIE-LCHlch(27.65, 93.60, 304.00°)
OKLaboklab(39.91% 0.0013 -0.2246)
OKLCHoklch(39.91% 0.225 270.3)
XYZxyz(10.5760, 5.3280, 48.6052)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2524BD #BCBD24
analogous
#2470BD #2524BD #7224BD
triadic
#2524BD #BD2524 #24BD25
tetradic
#2524BD #BD2470 #BCBD24 #24BD72
square
#2524BD #BD2470 #BCBD24 #24BD72
split-complementary
#2524BD #BD7224 #70BD24
monochromatic
#111056 #1B1A8A #2524BD #4443DB #7776E5

Accessibility & contrast

On white

10.17
#2524BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#2524BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2524BD
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2524BD#FFFFFF#000000##FFFFFF
##2524BD1.0010.172.0710.17
#FFFFFF10.171.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049C1
Deuteranopia (green-blind)
#0039BA
Tritanopia (blue-blind)
#005572
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2524bd;
/* rgb */ color: rgb(37, 36, 189);
/* oklch */ color: oklch(39.9% 0.225 270.3);
Tailwind
colors: {
  custom: {
    50: '#7d63d2',
    500: '#2524bd',
    950: '#000000',
  },
}
SCSS
$custom: #2524bd;
$custom-light: #7d63d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2524bd",
  "rgb": {
    "r": 37,
    "g": 36,
    "b": 189
  },
  "hsl": {
    "h": 240.392,
    "s": 68,
    "l": 44.118
  },
  "oklch": {
    "l": 0.39905,
    "c": 0.22465,
    "h": 270.3
  },
  "luminance": 0.05329
}

Semantic roles & 50–950 ramp

primary
#2524BD
secondary
#CCCC70
accent
#EB3DEA
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0514
muted
#7D7A83

Preview Lab

Preview with #2524BD

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

Preview Lab → · Contrast checker → · Palette generator →

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