#2521AC#2521AC

#2521AC is a dark, highly saturated blue. Relative luminance 0.045; OKLCH L 37.6% C 0.207 H 271.6°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#2521AC
RGBrgb(37, 33, 172)
HSLhsl(242, 68%, 40%)
HSVhsv(242, 81%, 67%)
CMYKcmyk(78.5%, 80.8%, 0%, 32.5%)
CIE-LABlab(25.13, 48.48, -71.63)
CIE-LCHlch(25.13, 86.49, 304.09°)
OKLaboklab(37.57% 0.0057 -0.2073)
OKLCHoklch(37.57% 0.207 271.6)
XYZxyz(8.7507, 4.4586, 39.4211)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2521AC #A8AC21
analogous
#2162AC #2521AC #6B21AC
triadic
#2521AC #AC2521 #21AC25
tetradic
#2521AC #AC2162 #A8AC21 #21AC6B
square
#2521AC #AC2162 #A8AC21 #21AC6B
split-complementary
#2521AC #AC6B21 #62AC21
monochromatic
#0F0D45 #1A1779 #2521AC #3732D8 #6966E2

Accessibility & contrast

On white

11.10
#2521AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2521AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2521AC
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2521AC#FFFFFF#000000##FFFFFF
##2521AC1.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042B0
Deuteranopia (green-blind)
#0035AA
Tritanopia (blue-blind)
#004D67
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2521ac;
/* rgb */ color: rgb(37, 33, 172);
/* oklch */ color: oklch(37.6% 0.207 271.6);
Tailwind
colors: {
  custom: {
    50: '#7960c6',
    500: '#2521ac',
    950: '#000000',
  },
}
SCSS
$custom: #2521ac;
$custom-light: #7960c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2521ac",
  "rgb": {
    "r": 37,
    "g": 33,
    "b": 172
  },
  "hsl": {
    "h": 241.727,
    "s": 67.805,
    "l": 40.196
  },
  "oklch": {
    "l": 0.37573,
    "c": 0.2074,
    "h": 271.6
  },
  "luminance": 0.0446
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2521AC

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

Preview Lab → · Contrast checker → · Palette generator →

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