#2524B1#2524B1

#2524B1 is a dark, highly saturated blue. Relative luminance 0.048; OKLCH L 38.5% C 0.211 H 271.0°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#2524B1
RGBrgb(37, 36, 177)
HSLhsl(240, 66%, 42%)
HSVhsv(240, 80%, 69%)
CMYKcmyk(79.1%, 79.7%, 0%, 30.6%)
CIE-LABlab(26.24, 48.56, -72.79)
CIE-LCHlch(26.24, 87.50, 303.71°)
OKLaboklab(38.52% 0.0037 -0.2107)
OKLCHoklch(38.52% 0.211 271)
XYZxyz(9.3270, 4.8283, 42.0268)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2524B1 #B0B124
analogous
#2469B1 #2524B1 #6C24B1
triadic
#2524B1 #B12524 #24B125
tetradic
#2524B1 #B12469 #B0B124 #24B16C
square
#2524B1 #B12469 #B0B124 #24B16C
split-complementary
#2524B1 #B16C24 #69B124
monochromatic
#100F4B #1A1A7E #2524B1 #3C3BD7 #6F6EE1

Accessibility & contrast

On white

10.68
#2524B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2524B1
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2524B1#FFFFFF#000000##FFFFFF
##2524B11.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2524b1;
/* rgb */ color: rgb(37, 36, 177);
/* oklch */ color: oklch(38.5% 0.211 271.0);
Tailwind
colors: {
  custom: {
    50: '#7a62ca',
    500: '#2524b1',
    950: '#000000',
  },
}
SCSS
$custom: #2524b1;
$custom-light: #7a62ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2524b1",
  "rgb": {
    "r": 37,
    "g": 36,
    "b": 177
  },
  "hsl": {
    "h": 240.426,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.38515,
    "c": 0.21077,
    "h": 271
  },
  "luminance": 0.04829
}

Semantic roles & 50–950 ramp

primary
#2524B1
secondary
#C7C869
accent
#E93FE8
background
#F8F5FC
surface
#EFEAF9
border
#CAC6D2
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2524B1

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

Preview Lab → · Contrast checker → · Palette generator →

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