#2520BC#2520BC

#2520BC is a dark, highly saturated blue. Relative luminance 0.051; OKLCH L 39.3% C 0.227 H 270.6°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#2520BC
RGBrgb(37, 32, 188)
HSLhsl(242, 71%, 43%)
HSVhsv(242, 83%, 74%)
CMYKcmyk(80.3%, 83%, 0%, 26.3%)
CIE-LABlab(26.89, 53.91, -78.26)
CIE-LCHlch(26.89, 95.03, 304.56°)
OKLaboklab(39.35% 0.0023 -0.2265)
OKLCHoklch(39.35% 0.227 270.6)
XYZxyz(10.3535, 5.0560, 47.9974)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2520BC #B7BC20
analogous
#2069BC #2520BC #7320BC
triadic
#2520BC #BC2520 #20BC25
tetradic
#2520BC #BC2069 #B7BC20 #20BC73
square
#2520BC #BC2069 #B7BC20 #20BC73
split-complementary
#2520BC #BC7320 #69BC20
monochromatic
#100E53 #1B1788 #2520BC #413BDE #7470E7

Accessibility & contrast

On white

10.44
#2520BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#2520BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2520BC
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2520BC#FFFFFF#000000##FFFFFF
##2520BC1.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2520bc;
/* rgb */ color: rgb(37, 32, 188);
/* oklch */ color: oklch(39.3% 0.227 270.6);
Tailwind
colors: {
  custom: {
    50: '#7d61d2',
    500: '#2520bc',
    950: '#000000',
  },
}
SCSS
$custom: #2520bc;
$custom-light: #7d61d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2520bc",
  "rgb": {
    "r": 37,
    "g": 32,
    "b": 188
  },
  "hsl": {
    "h": 241.923,
    "s": 70.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.39347,
    "c": 0.2265,
    "h": 270.6
  },
  "luminance": 0.05057
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2520BC

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

Preview Lab → · Contrast checker → · Palette generator →

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