#2521AA#2521AA

#2521AA is a dark, highly saturated blue. Relative luminance 0.044; OKLCH L 37.3% C 0.205 H 271.7°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#2521AA
RGBrgb(37, 33, 170)
HSLhsl(242, 67%, 40%)
HSVhsv(242, 81%, 67%)
CMYKcmyk(78.2%, 80.6%, 0%, 33.3%)
CIE-LABlab(24.90, 47.84, -70.81)
CIE-LCHlch(24.90, 85.46, 304.04°)
OKLaboklab(37.34% 0.0061 -0.205)
OKLCHoklch(37.34% 0.205 271.7)
XYZxyz(8.5601, 4.3824, 38.4172)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2521AA #A6AA21
analogous
#2161AA #2521AA #6A21AA
triadic
#2521AA #AA2521 #21AA25
tetradic
#2521AA #AA2161 #A6AA21 #21AA6A
square
#2521AA #AA2161 #A6AA21 #21AA6A
split-complementary
#2521AA #AA6A21 #61AA21
monochromatic
#0F0D43 #1A1777 #2521AA #3631D7 #6864E1

Accessibility & contrast

On white

11.19
#2521AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2521AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2521AA#FFFFFF#000000##FFFFFF
##2521AA1.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042AE
Deuteranopia (green-blind)
#0034A8
Tritanopia (blue-blind)
#004C66
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2521aa;
/* rgb */ color: rgb(37, 33, 170);
/* oklch */ color: oklch(37.3% 0.205 271.7);
Tailwind
colors: {
  custom: {
    50: '#7860c5',
    500: '#2521aa',
    950: '#000000',
  },
}
SCSS
$custom: #2521aa;
$custom-light: #7860c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2521aa",
  "rgb": {
    "r": 37,
    "g": 33,
    "b": 170
  },
  "hsl": {
    "h": 241.752,
    "s": 67.488,
    "l": 39.804
  },
  "oklch": {
    "l": 0.37341,
    "c": 0.20505,
    "h": 271.7
  },
  "luminance": 0.04383
}

Semantic roles & 50–950 ramp

primary
#2521AA
secondary
#C3C661
accent
#EA3DE5
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2521AA

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

Preview Lab → · Contrast checker → · Palette generator →

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