#2520AC#2520AC

#2520AC is a dark, highly saturated blue. Relative luminance 0.044; OKLCH L 37.5% C 0.208 H 271.6°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#2520AC
RGBrgb(37, 32, 172)
HSLhsl(242, 69%, 40%)
HSVhsv(242, 81%, 67%)
CMYKcmyk(78.5%, 81.4%, 0%, 32.5%)
CIE-LABlab(24.96, 48.97, -71.91)
CIE-LCHlch(24.96, 87.00, 304.25°)
OKLaboklab(37.46% 0.006 -0.2081)
OKLCHoklch(37.46% 0.208 271.6)
XYZxyz(8.7233, 4.4039, 39.4120)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2520AC #A7AC20
analogous
#2061AC #2520AC #6B20AC
triadic
#2520AC #AC2520 #20AC25
tetradic
#2520AC #AC2061 #A7AC20 #20AC6B
square
#2520AC #AC2061 #A7AC20 #20AC6B
split-complementary
#2520AC #AC6B20 #61AC20
monochromatic
#0F0D45 #1A1678 #2520AC #3731D9 #6964E2

Accessibility & contrast

On white

11.16
#2520AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2520AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2520AC
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2520AC#FFFFFF#000000##FFFFFF
##2520AC1.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042B0
Deuteranopia (green-blind)
#0034AA
Tritanopia (blue-blind)
#004C67
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2520ac;
/* rgb */ color: rgb(37, 32, 172);
/* oklch */ color: oklch(37.5% 0.208 271.6);
Tailwind
colors: {
  custom: {
    50: '#795fc6',
    500: '#2520ac',
    950: '#000000',
  },
}
SCSS
$custom: #2520ac;
$custom-light: #795fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#2520ac",
  "rgb": {
    "r": 37,
    "g": 32,
    "b": 172
  },
  "hsl": {
    "h": 242.143,
    "s": 68.627,
    "l": 40
  },
  "oklch": {
    "l": 0.37456,
    "c": 0.2082,
    "h": 271.6
  },
  "luminance": 0.04405
}

Semantic roles & 50–950 ramp

primary
#2520AC
secondary
#C4C760
accent
#EB3CE5
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2520AC

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

Preview Lab → · Contrast checker → · Palette generator →

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