#2521BD#2521BD

#2521BD is a dark, highly saturated blue. Relative luminance 0.052; OKLCH L 39.6% C 0.227 H 270.5°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#2521BD
RGBrgb(37, 33, 189)
HSLhsl(242, 70%, 44%)
HSVhsv(242, 83%, 74%)
CMYKcmyk(80.4%, 82.5%, 0%, 25.9%)
CIE-LABlab(27.17, 53.76, -78.39)
CIE-LCHlch(27.17, 95.05, 304.44°)
OKLaboklab(39.57% 0.0019 -0.2269)
OKLCHoklch(39.57% 0.227 270.5)
XYZxyz(10.4890, 5.1539, 48.5762)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2521BD #B9BD21
analogous
#216BBD #2521BD #7321BD
triadic
#2521BD #BD2521 #21BD25
tetradic
#2521BD #BD216B #B9BD21 #21BD73
square
#2521BD #BD216B #B9BD21 #21BD73
split-complementary
#2521BD #BD7321 #6BBD21
monochromatic
#110F55 #1B1889 #2521BD #423EDD #7572E6

Accessibility & contrast

On white

10.34
#2521BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#2521BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2521BD#FFFFFF#000000##FFFFFF
##2521BD1.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048C1
Deuteranopia (green-blind)
#0038BA
Tritanopia (blue-blind)
#005471
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2521bd;
/* rgb */ color: rgb(37, 33, 189);
/* oklch */ color: oklch(39.6% 0.227 270.5);
Tailwind
colors: {
  custom: {
    50: '#7d61d2',
    500: '#2521bd',
    950: '#000000',
  },
}
SCSS
$custom: #2521bd;
$custom-light: #7d61d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2521bd",
  "rgb": {
    "r": 37,
    "g": 33,
    "b": 189
  },
  "hsl": {
    "h": 241.538,
    "s": 70.27,
    "l": 43.529
  },
  "oklch": {
    "l": 0.39572,
    "c": 0.22691,
    "h": 270.5
  },
  "luminance": 0.05155
}

Semantic roles & 50–950 ramp

primary
#2521BD
secondary
#CBCD6D
accent
#ED3BE8
background
#F8F5FD
surface
#F0EAFA
border
#CBC6D3
text
#0C0514
muted
#7D7983

Preview Lab

Preview with #2521BD

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

Preview Lab → · Contrast checker → · Palette generator →

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