#2524B2#2524B2

#2524B2 is a dark, highly saturated blue. Relative luminance 0.049; OKLCH L 38.6% C 0.212 H 271.0°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#2524B2
RGBrgb(37, 36, 178)
HSLhsl(240, 66%, 42%)
HSVhsv(240, 80%, 70%)
CMYKcmyk(79.2%, 79.8%, 0%, 30.2%)
CIE-LABlab(26.36, 48.87, -73.20)
CIE-LCHlch(26.36, 88.01, 303.73°)
OKLaboklab(38.63% 0.0035 -0.2119)
OKLCHoklch(38.63% 0.212 271)
XYZxyz(9.4270, 4.8684, 42.5537)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2524B2 #B1B224
analogous
#246AB2 #2524B2 #6C24B2
triadic
#2524B2 #B22524 #24B225
tetradic
#2524B2 #B2246A #B1B224 #24B26C
square
#2524B2 #B2246A #B1B224 #24B26C
split-complementary
#2524B2 #B26C24 #6AB224
monochromatic
#100F4C #1A1A7F #2524B2 #3D3CD8 #6F6FE2

Accessibility & contrast

On white

10.64
#2524B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2524B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2524B2
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2524B2#FFFFFF#000000##FFFFFF
##2524B21.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B6
Deuteranopia (green-blind)
#0037B0
Tritanopia (blue-blind)
#00506B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2524b2;
/* rgb */ color: rgb(37, 36, 178);
/* oklch */ color: oklch(38.6% 0.212 271.0);
Tailwind
colors: {
  custom: {
    50: '#7a62ca',
    500: '#2524b2',
    950: '#000000',
  },
}
SCSS
$custom: #2524b2;
$custom-light: #7a62ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2524b2",
  "rgb": {
    "r": 37,
    "g": 36,
    "b": 178
  },
  "hsl": {
    "h": 240.423,
    "s": 66.355,
    "l": 41.961
  },
  "oklch": {
    "l": 0.3863,
    "c": 0.21195,
    "h": 271
  },
  "luminance": 0.04869
}

Semantic roles & 50–950 ramp

primary
#2524B2
secondary
#C8C869
accent
#E93FE8
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2524B2

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

Preview Lab → · Contrast checker → · Palette generator →

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