#2520B0#2520B0

#2520B0 is a dark, highly saturated blue. Relative luminance 0.046; OKLCH L 37.9% C 0.213 H 271.4°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#2520B0
RGBrgb(37, 32, 176)
HSLhsl(242, 69%, 41%)
HSVhsv(242, 82%, 69%)
CMYKcmyk(79%, 81.8%, 0%, 31%)
CIE-LABlab(25.44, 50.22, -73.52)
CIE-LCHlch(25.44, 89.03, 304.34°)
OKLaboklab(37.92% 0.005 -0.2128)
OKLCHoklch(37.92% 0.213 271.4)
XYZxyz(9.1133, 4.5599, 41.4657)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2520B0 #ABB020
analogous
#2063B0 #2520B0 #6D20B0
triadic
#2520B0 #B02520 #20B025
tetradic
#2520B0 #B02063 #ABB020 #20B06D
square
#2520B0 #B02063 #ABB020 #20B06D
split-complementary
#2520B0 #B06D20 #63B020
monochromatic
#0F0D48 #1A177C #2520B0 #3933DA #6B67E3

Accessibility & contrast

On white

10.98
#2520B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2520B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2520B0
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2520B0#FFFFFF#000000##FFFFFF
##2520B01.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043B4
Deuteranopia (green-blind)
#0035AE
Tritanopia (blue-blind)
#004E69
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2520b0;
/* rgb */ color: rgb(37, 32, 176);
/* oklch */ color: oklch(37.9% 0.213 271.4);
Tailwind
colors: {
  custom: {
    50: '#7a60c9',
    500: '#2520b0',
    950: '#000000',
  },
}
SCSS
$custom: #2520b0;
$custom-light: #7a60c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2520b0",
  "rgb": {
    "r": 37,
    "g": 32,
    "b": 176
  },
  "hsl": {
    "h": 242.083,
    "s": 69.231,
    "l": 40.784
  },
  "oklch": {
    "l": 0.37925,
    "c": 0.21283,
    "h": 271.4
  },
  "luminance": 0.04561
}

Semantic roles & 50–950 ramp

primary
#2520B0
secondary
#C5C963
accent
#EC3CE6
background
#F8F5FC
surface
#EFEAF9
border
#CAC6D2
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2520B0

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

Preview Lab → · Contrast checker → · Palette generator →

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