#2520AD#2520AD

#2520AD is a dark, highly saturated blue. Relative luminance 0.044; OKLCH L 37.6% C 0.209 H 271.6°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#2520AD
RGBrgb(37, 32, 173)
HSLhsl(242, 69%, 40%)
HSVhsv(242, 82%, 68%)
CMYKcmyk(78.6%, 81.5%, 0%, 32.2%)
CIE-LABlab(25.08, 49.28, -72.31)
CIE-LCHlch(25.08, 87.51, 304.28°)
OKLaboklab(37.57% 0.0057 -0.2093)
OKLCHoklch(37.57% 0.209 271.6)
XYZxyz(8.8197, 4.4425, 39.9197)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2520AD #A8AD20
analogous
#2061AD #2520AD #6C20AD
triadic
#2520AD #AD2520 #20AD25
tetradic
#2520AD #AD2061 #A8AD20 #20AD6C
square
#2520AD #AD2061 #A8AD20 #20AD6C
split-complementary
#2520AD #AD6C20 #61AD20
monochromatic
#0F0D46 #1A1679 #2520AD #3731D9 #6965E2

Accessibility & contrast

On white

11.12
#2520AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2520AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2520AD
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2520AD#FFFFFF#000000##FFFFFF
##2520AD1.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042B1
Deuteranopia (green-blind)
#0034AB
Tritanopia (blue-blind)
#004D68
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2520ad;
/* rgb */ color: rgb(37, 32, 173);
/* oklch */ color: oklch(37.6% 0.209 271.6);
Tailwind
colors: {
  custom: {
    50: '#795fc7',
    500: '#2520ad',
    950: '#000000',
  },
}
SCSS
$custom: #2520ad;
$custom-light: #795fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#2520ad",
  "rgb": {
    "r": 37,
    "g": 32,
    "b": 173
  },
  "hsl": {
    "h": 242.128,
    "s": 68.78,
    "l": 40.196
  },
  "oklch": {
    "l": 0.37573,
    "c": 0.20936,
    "h": 271.6
  },
  "luminance": 0.04443
}

Semantic roles & 50–950 ramp

primary
#2520AD
secondary
#C4C861
accent
#EC3CE5
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2520AD

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

Preview Lab → · Contrast checker → · Palette generator →

#2520AD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva