#2524B0#2524B0

#2524B0 is a dark, highly saturated blue. Relative luminance 0.048; OKLCH L 38.4% C 0.210 H 271.1°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#2524B0
RGBrgb(37, 36, 176)
HSLhsl(240, 66%, 42%)
HSVhsv(240, 80%, 69%)
CMYKcmyk(79%, 79.5%, 0%, 31%)
CIE-LABlab(26.12, 48.23, -72.39)
CIE-LCHlch(26.12, 86.98, 303.68°)
OKLaboklab(38.4% 0.004 -0.2096)
OKLCHoklch(38.4% 0.21 271.1)
XYZxyz(9.2276, 4.7886, 41.5038)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2524B0 #AFB024
analogous
#2469B0 #2524B0 #6B24B0
triadic
#2524B0 #B02524 #24B025
tetradic
#2524B0 #B02469 #AFB024 #24B06B
square
#2524B0 #B02469 #AFB024 #24B06B
split-complementary
#2524B0 #B06B24 #69B024
monochromatic
#100F4A #1A1A7D #2524B0 #3C3AD7 #6E6DE1

Accessibility & contrast

On white

10.73
#2524B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2524B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2524B0
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2524B0#FFFFFF#000000##FFFFFF
##2524B01.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B4
Deuteranopia (green-blind)
#0037AE
Tritanopia (blue-blind)
#004F6A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2524b0;
/* rgb */ color: rgb(37, 36, 176);
/* oklch */ color: oklch(38.4% 0.210 271.1);
Tailwind
colors: {
  custom: {
    50: '#7962c9',
    500: '#2524b0',
    950: '#000000',
  },
}
SCSS
$custom: #2524b0;
$custom-light: #7962c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2524b0",
  "rgb": {
    "r": 37,
    "g": 36,
    "b": 176
  },
  "hsl": {
    "h": 240.429,
    "s": 66.038,
    "l": 41.569
  },
  "oklch": {
    "l": 0.384,
    "c": 0.2096,
    "h": 271.1
  },
  "luminance": 0.0479
}

Semantic roles & 50–950 ramp

primary
#2524B0
secondary
#C7C868
accent
#E93FE8
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2524B0

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

Preview Lab → · Contrast checker → · Palette generator →

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