#2521AD#2521AD

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

Color values

HEX#2521AD
RGBrgb(37, 33, 173)
HSLhsl(242, 68%, 40%)
HSVhsv(242, 81%, 68%)
CMYKcmyk(78.6%, 80.9%, 0%, 32.2%)
CIE-LABlab(25.25, 48.79, -72.03)
CIE-LCHlch(25.25, 87.00, 304.11°)
OKLaboklab(37.69% 0.0055 -0.2085)
OKLCHoklch(37.69% 0.209 271.5)
XYZxyz(8.8471, 4.4972, 39.9288)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2521AD #A9AD21
analogous
#2163AD #2521AD #6B21AD
triadic
#2521AD #AD2521 #21AD25
tetradic
#2521AD #AD2163 #A9AD21 #21AD6B
square
#2521AD #AD2163 #A9AD21 #21AD6B
split-complementary
#2521AD #AD6B21 #63AD21
monochromatic
#0F0D46 #1A177A #2521AD #3833D8 #6A66E2

Accessibility & contrast

On white

11.05
#2521AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2521AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2521AD
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2521AD#FFFFFF#000000##FFFFFF
##2521AD1.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043B1
Deuteranopia (green-blind)
#0035AB
Tritanopia (blue-blind)
#004D68
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2521ad;
/* rgb */ color: rgb(37, 33, 173);
/* oklch */ color: oklch(37.7% 0.209 271.5);
Tailwind
colors: {
  custom: {
    50: '#7960c7',
    500: '#2521ad',
    950: '#000000',
  },
}
SCSS
$custom: #2521ad;
$custom-light: #7960c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2521ad",
  "rgb": {
    "r": 37,
    "g": 33,
    "b": 173
  },
  "hsl": {
    "h": 241.714,
    "s": 67.961,
    "l": 40.392
  },
  "oklch": {
    "l": 0.3769,
    "c": 0.20856,
    "h": 271.5
  },
  "luminance": 0.04498
}

Semantic roles & 50–950 ramp

primary
#2521AD
secondary
#C4C762
accent
#EB3DE6
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2521AD

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

Preview Lab → · Contrast checker → · Palette generator →

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