#2520AE#2520AE

#2520AE is a dark, highly saturated blue. Relative luminance 0.045; OKLCH L 37.7% C 0.211 H 271.5°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#2520AE
RGBrgb(37, 32, 174)
HSLhsl(242, 69%, 40%)
HSVhsv(242, 82%, 68%)
CMYKcmyk(78.7%, 81.6%, 0%, 31.8%)
CIE-LABlab(25.20, 49.60, -72.71)
CIE-LCHlch(25.20, 88.02, 304.30°)
OKLaboklab(37.69% 0.0055 -0.2104)
OKLCHoklch(37.69% 0.211 271.5)
XYZxyz(8.9169, 4.4813, 40.4312)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2520AE #A9AE20
analogous
#2062AE #2520AE #6C20AE
triadic
#2520AE #AE2520 #20AE25
tetradic
#2520AE #AE2062 #A9AE20 #20AE6C
square
#2520AE #AE2062 #A9AE20 #20AE6C
split-complementary
#2520AE #AE6C20 #62AE20
monochromatic
#0F0D47 #1A167A #2520AE #3832D9 #6A66E3

Accessibility & contrast

On white

11.07
#2520AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2520AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2520AE
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2520AE#FFFFFF#000000##FFFFFF
##2520AE1.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043B2
Deuteranopia (green-blind)
#0034AC
Tritanopia (blue-blind)
#004D68
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2520ae;
/* rgb */ color: rgb(37, 32, 174);
/* oklch */ color: oklch(37.7% 0.211 271.5);
Tailwind
colors: {
  custom: {
    50: '#7960c8',
    500: '#2520ae',
    950: '#000000',
  },
}
SCSS
$custom: #2520ae;
$custom-light: #7960c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2520ae",
  "rgb": {
    "r": 37,
    "g": 32,
    "b": 174
  },
  "hsl": {
    "h": 242.113,
    "s": 68.932,
    "l": 40.392
  },
  "oklch": {
    "l": 0.3769,
    "c": 0.21052,
    "h": 271.5
  },
  "luminance": 0.04482
}

Semantic roles & 50–950 ramp

primary
#2520AE
secondary
#C4C862
accent
#EC3CE6
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2520AE

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

Preview Lab → · Contrast checker → · Palette generator →

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