#2521AE#2521AE

#2521AE is a dark, highly saturated blue. Relative luminance 0.045; OKLCH L 37.8% C 0.210 H 271.4°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#2521AE
RGBrgb(37, 33, 174)
HSLhsl(242, 68%, 41%)
HSVhsv(242, 81%, 68%)
CMYKcmyk(78.7%, 81%, 0%, 31.8%)
CIE-LABlab(25.37, 49.11, -72.44)
CIE-LCHlch(25.37, 87.51, 304.13°)
OKLaboklab(37.81% 0.0052 -0.2097)
OKLCHoklch(37.81% 0.21 271.4)
XYZxyz(8.9442, 4.5360, 40.4403)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2521AE #AAAE21
analogous
#2163AE #2521AE #6B21AE
triadic
#2521AE #AE2521 #21AE25
tetradic
#2521AE #AE2163 #AAAE21 #21AE6B
square
#2521AE #AE2163 #AAAE21 #21AE6B
split-complementary
#2521AE #AE6B21 #63AE21
monochromatic
#0F0D47 #1A177B #2521AE #3834D8 #6B67E2

Accessibility & contrast

On white

11.01
#2521AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2521AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2521AE
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2521AE#FFFFFF#000000##FFFFFF
##2521AE1.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2521ae;
/* rgb */ color: rgb(37, 33, 174);
/* oklch */ color: oklch(37.8% 0.210 271.4);
Tailwind
colors: {
  custom: {
    50: '#7960c8',
    500: '#2521ae',
    950: '#000000',
  },
}
SCSS
$custom: #2521ae;
$custom-light: #7960c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2521ae",
  "rgb": {
    "r": 37,
    "g": 33,
    "b": 174
  },
  "hsl": {
    "h": 241.702,
    "s": 68.116,
    "l": 40.588
  },
  "oklch": {
    "l": 0.37806,
    "c": 0.20973,
    "h": 271.4
  },
  "luminance": 0.04537
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2521AE

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

Preview Lab → · Contrast checker → · Palette generator →

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