#2520BD#2520BD

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

Color values

HEX#2520BD
RGBrgb(37, 32, 189)
HSLhsl(242, 71%, 43%)
HSVhsv(242, 83%, 74%)
CMYKcmyk(80.4%, 83.1%, 0%, 25.9%)
CIE-LABlab(27.02, 54.21, -78.65)
CIE-LCHlch(27.02, 95.52, 304.58°)
OKLaboklab(39.47% 0.0021 -0.2276)
OKLCHoklch(39.47% 0.228 270.5)
XYZxyz(10.4617, 5.0993, 48.5671)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2520BD #B8BD20
analogous
#2069BD #2520BD #7320BD
triadic
#2520BD #BD2520 #20BD25
tetradic
#2520BD #BD2069 #B8BD20 #20BD73
square
#2520BD #BD2069 #B8BD20 #20BD73
split-complementary
#2520BD #BD7320 #69BD20
monochromatic
#110E54 #1B1789 #2520BD #413CDE #7471E7

Accessibility & contrast

On white

10.40
#2520BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#2520BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2520BD
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2520BD#FFFFFF#000000##FFFFFF
##2520BD1.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2520bd;
/* rgb */ color: rgb(37, 32, 189);
/* oklch */ color: oklch(39.5% 0.228 270.5);
Tailwind
colors: {
  custom: {
    50: '#7d61d2',
    500: '#2520bd',
    950: '#000000',
  },
}
SCSS
$custom: #2520bd;
$custom-light: #7d61d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2520bd",
  "rgb": {
    "r": 37,
    "g": 32,
    "b": 189
  },
  "hsl": {
    "h": 241.911,
    "s": 71.041,
    "l": 43.333
  },
  "oklch": {
    "l": 0.39466,
    "c": 0.22763,
    "h": 270.5
  },
  "luminance": 0.051
}

Semantic roles & 50–950 ramp

primary
#2520BD
secondary
#CACD6B
accent
#EE3AE8
background
#F8F5FD
surface
#F0EAFA
border
#CBC6D3
text
#0C0514
muted
#7D7983

Preview Lab

Preview with #2520BD

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

Preview Lab → · Contrast checker → · Palette generator →

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