#2521BC#2521BC

#2521BC is a dark, highly saturated blue. Relative luminance 0.051; OKLCH L 39.5% C 0.226 H 270.5°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#2521BC
RGBrgb(37, 33, 188)
HSLhsl(242, 70%, 43%)
HSVhsv(242, 82%, 74%)
CMYKcmyk(80.3%, 82.4%, 0%, 26.3%)
CIE-LABlab(27.05, 53.45, -78.00)
CIE-LCHlch(27.05, 94.56, 304.42°)
OKLaboklab(39.45% 0.0021 -0.2258)
OKLCHoklch(39.45% 0.226 270.5)
XYZxyz(10.3808, 5.1107, 48.0065)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2521BC #B8BC21
analogous
#216BBC #2521BC #7221BC
triadic
#2521BC #BC2521 #21BC25
tetradic
#2521BC #BC216B #B8BC21 #21BC72
square
#2521BC #BC216B #B8BC21 #21BC72
split-complementary
#2521BC #BC7221 #6BBC21
monochromatic
#110F54 #1B1888 #2521BC #413DDD #7471E6

Accessibility & contrast

On white

10.38
#2521BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#2521BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2521BC#FFFFFF#000000##FFFFFF
##2521BC1.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048C0
Deuteranopia (green-blind)
#0038B9
Tritanopia (blue-blind)
#005370
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2521bc;
/* rgb */ color: rgb(37, 33, 188);
/* oklch */ color: oklch(39.5% 0.226 270.5);
Tailwind
colors: {
  custom: {
    50: '#7d61d2',
    500: '#2521bc',
    950: '#000000',
  },
}
SCSS
$custom: #2521bc;
$custom-light: #7d61d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2521bc",
  "rgb": {
    "r": 37,
    "g": 33,
    "b": 188
  },
  "hsl": {
    "h": 241.548,
    "s": 70.136,
    "l": 43.333
  },
  "oklch": {
    "l": 0.39453,
    "c": 0.22578,
    "h": 270.5
  },
  "luminance": 0.05112
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2521BC

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

Preview Lab → · Contrast checker → · Palette generator →

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