#2520AA#2520AA

#2520AA is a dark, highly saturated blue. Relative luminance 0.043; OKLCH L 37.2% C 0.206 H 271.8°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#2520AA
RGBrgb(37, 32, 170)
HSLhsl(242, 68%, 40%)
HSVhsv(242, 81%, 67%)
CMYKcmyk(78.2%, 81.2%, 0%, 33.3%)
CIE-LABlab(24.73, 48.34, -71.10)
CIE-LCHlch(24.73, 85.97, 304.21°)
OKLaboklab(37.22% 0.0064 -0.2058)
OKLCHoklch(37.22% 0.206 271.8)
XYZxyz(8.5327, 4.3277, 38.4080)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2520AA #A5AA20
analogous
#2060AA #2520AA #6A20AA
triadic
#2520AA #AA2520 #20AA25
tetradic
#2520AA #AA2060 #A5AA20 #20AA6A
square
#2520AA #AA2060 #A5AA20 #20AA6A
split-complementary
#2520AA #AA6A20 #60AA20
monochromatic
#0F0D43 #1A1676 #2520AA #352FD8 #6763E2

Accessibility & contrast

On white

11.26
#2520AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2520AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2520AA#FFFFFF#000000##FFFFFF
##2520AA1.0011.261.8711.26
#FFFFFF11.261.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041AE
Deuteranopia (green-blind)
#0034A8
Tritanopia (blue-blind)
#004C66
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2520aa;
/* rgb */ color: rgb(37, 32, 170);
/* oklch */ color: oklch(37.2% 0.206 271.8);
Tailwind
colors: {
  custom: {
    50: '#785fc5',
    500: '#2520aa',
    950: '#000000',
  },
}
SCSS
$custom: #2520aa;
$custom-light: #785fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#2520aa",
  "rgb": {
    "r": 37,
    "g": 32,
    "b": 170
  },
  "hsl": {
    "h": 242.174,
    "s": 68.317,
    "l": 39.608
  },
  "oklch": {
    "l": 0.37222,
    "c": 0.20586,
    "h": 271.8
  },
  "luminance": 0.04329
}

Semantic roles & 50–950 ramp

primary
#2520AA
secondary
#C3C75F
accent
#EB3DE5
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2520AA

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

Preview Lab → · Contrast checker → · Palette generator →

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