#2524A2#2524A2

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

Color values

HEX#2524A2
RGBrgb(37, 36, 162)
HSLhsl(240, 64%, 39%)
HSVhsv(240, 78%, 64%)
CMYKcmyk(77.2%, 77.8%, 0%, 36.5%)
CIE-LABlab(24.52, 43.66, -66.59)
CIE-LCHlch(24.52, 79.63, 303.25°)
OKLaboklab(36.81% 0.0068 -0.1927)
OKLCHoklch(36.81% 0.193 272)
XYZxyz(7.9132, 4.2628, 34.5812)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2524A2 #A1A224
analogous
#2462A2 #2524A2 #6424A2
triadic
#2524A2 #A22524 #24A225
tetradic
#2524A2 #A22462 #A1A224 #24A264
square
#2524A2 #A22462 #A1A224 #24A264
split-complementary
#2524A2 #A26424 #62A224
monochromatic
#0E0E3E #1A1970 #2524A2 #3332D1 #6564DD

Accessibility & contrast

On white

11.33
#2524A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#2524A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2524A2
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2524A2#FFFFFF#000000##FFFFFF
##2524A21.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A6
Deuteranopia (green-blind)
#0034A0
Tritanopia (blue-blind)
#004A62
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2524a2;
/* rgb */ color: rgb(37, 36, 162);
/* oklch */ color: oklch(36.8% 0.193 272.0);
Tailwind
colors: {
  custom: {
    50: '#7661bf',
    500: '#2524a2',
    950: '#000000',
  },
}
SCSS
$custom: #2524a2;
$custom-light: #7661bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2524a2",
  "rgb": {
    "r": 37,
    "g": 36,
    "b": 162
  },
  "hsl": {
    "h": 240.476,
    "s": 63.636,
    "l": 38.824
  },
  "oklch": {
    "l": 0.36809,
    "c": 0.19287,
    "h": 272
  },
  "luminance": 0.04264
}

Semantic roles & 50–950 ramp

primary
#2524A2
secondary
#C1C260
accent
#E741E5
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2524A2

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

Preview Lab → · Contrast checker → · Palette generator →

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