#2522A3#2522A3

#2522A3 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.7% C 0.196 H 272.2°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#2522A3
RGBrgb(37, 34, 163)
HSLhsl(241, 65%, 39%)
HSVhsv(241, 79%, 64%)
CMYKcmyk(77.3%, 79.1%, 0%, 36.1%)
CIE-LABlab(24.26, 45.07, -67.63)
CIE-LCHlch(24.26, 81.27, 303.68°)
OKLaboklab(36.66% 0.0074 -0.1957)
OKLCHoklch(36.66% 0.196 272.2)
XYZxyz(7.9436, 4.1809, 35.0316)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2522A3 #A0A322
analogous
#225FA3 #2522A3 #6522A3
triadic
#2522A3 #A32522 #22A325
tetradic
#2522A3 #A3225F #A0A322 #22A365
square
#2522A3 #A3225F #A0A322 #22A365
split-complementary
#2522A3 #A36522 #5FA322
monochromatic
#0E0D3E #1A1770 #2522A3 #322FD4 #6461DE

Accessibility & contrast

On white

11.44
#2522A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#2522A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2522A3
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2522A3#FFFFFF#000000##FFFFFF
##2522A31.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A7
Deuteranopia (green-blind)
#0033A1
Tritanopia (blue-blind)
#004962
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2522a3;
/* rgb */ color: rgb(37, 34, 163);
/* oklch */ color: oklch(36.7% 0.196 272.2);
Tailwind
colors: {
  custom: {
    50: '#7660c0',
    500: '#2522a3',
    950: '#000000',
  },
}
SCSS
$custom: #2522a3;
$custom-light: #7660c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2522a3",
  "rgb": {
    "r": 37,
    "g": 34,
    "b": 163
  },
  "hsl": {
    "h": 241.395,
    "s": 65.482,
    "l": 38.627
  },
  "oklch": {
    "l": 0.36659,
    "c": 0.19589,
    "h": 272.2
  },
  "luminance": 0.04182
}

Semantic roles & 50–950 ramp

primary
#2522A3
secondary
#C1C35E
accent
#E83FE5
background
#F7F5FC
surface
#EEEAF8
border
#C9C6D1
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2522A3

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

Preview Lab → · Contrast checker → · Palette generator →

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