#2522A7#2522A7

#2522A7 is a dark, highly saturated blue. Relative luminance 0.043; OKLCH L 37.1% C 0.201 H 271.9°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#2522A7
RGBrgb(37, 34, 167)
HSLhsl(241, 66%, 39%)
HSVhsv(241, 80%, 65%)
CMYKcmyk(77.8%, 79.6%, 0%, 34.5%)
CIE-LABlab(24.72, 46.37, -69.29)
CIE-LCHlch(24.72, 83.37, 303.79°)
OKLaboklab(37.12% 0.0065 -0.2006)
OKLCHoklch(37.12% 0.201 271.9)
XYZxyz(8.3077, 4.3265, 36.9490)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2522A7 #A4A722
analogous
#2262A7 #2522A7 #6722A7
triadic
#2522A7 #A72522 #22A725
tetradic
#2522A7 #A72262 #A4A722 #22A767
square
#2522A7 #A72262 #A4A722 #22A767
split-complementary
#2522A7 #A76722 #62A722
monochromatic
#0E0D41 #1A1874 #2522A7 #3531D5 #6764DF

Accessibility & contrast

On white

11.26
#2522A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2522A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2522A7#FFFFFF#000000##FFFFFF
##2522A71.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)
#0041AB
Deuteranopia (green-blind)
#0034A5
Tritanopia (blue-blind)
#004B64
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2522a7;
/* rgb */ color: rgb(37, 34, 167);
/* oklch */ color: oklch(37.1% 0.201 271.9);
Tailwind
colors: {
  custom: {
    50: '#7760c3',
    500: '#2522a7',
    950: '#000000',
  },
}
SCSS
$custom: #2522a7;
$custom-light: #7760c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2522a7",
  "rgb": {
    "r": 37,
    "g": 34,
    "b": 167
  },
  "hsl": {
    "h": 241.353,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.37117,
    "c": 0.20066,
    "h": 271.9
  },
  "luminance": 0.04327
}

Semantic roles & 50–950 ramp

primary
#2522A7
secondary
#C2C560
accent
#E93FE5
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2522A7

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

Preview Lab → · Contrast checker → · Palette generator →

#2522A7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva