#2522BC#2522BC

#2522BC is a dark, highly saturated blue. Relative luminance 0.052; OKLCH L 39.6% C 0.225 H 270.5°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#2522BC
RGBrgb(37, 34, 188)
HSLhsl(241, 69%, 44%)
HSVhsv(241, 82%, 74%)
CMYKcmyk(80.3%, 81.9%, 0%, 26.3%)
CIE-LABlab(27.21, 52.99, -77.74)
CIE-LCHlch(27.21, 94.08, 304.28°)
OKLaboklab(39.56% 0.0019 -0.225)
OKLCHoklch(39.56% 0.225 270.5)
XYZxyz(10.4090, 5.1670, 48.0159)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2522BC #B9BC22
analogous
#226CBC #2522BC #7222BC
triadic
#2522BC #BC2522 #22BC25
tetradic
#2522BC #BC226C #B9BC22 #22BC72
square
#2522BC #BC226C #B9BC22 #22BC72
split-complementary
#2522BC #BC7222 #6CBC22
monochromatic
#110F54 #1B1988 #2522BC #423FDC #7573E6

Accessibility & contrast

On white

10.33
#2522BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#2522BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2522BC
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2522BC#FFFFFF#000000##FFFFFF
##2522BC1.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048C0
Deuteranopia (green-blind)
#0038B9
Tritanopia (blue-blind)
#005471
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2522bc;
/* rgb */ color: rgb(37, 34, 188);
/* oklch */ color: oklch(39.6% 0.225 270.5);
Tailwind
colors: {
  custom: {
    50: '#7d62d2',
    500: '#2522bc',
    950: '#000000',
  },
}
SCSS
$custom: #2522bc;
$custom-light: #7d62d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2522bc",
  "rgb": {
    "r": 37,
    "g": 34,
    "b": 188
  },
  "hsl": {
    "h": 241.169,
    "s": 69.369,
    "l": 43.529
  },
  "oklch": {
    "l": 0.39563,
    "c": 0.22504,
    "h": 270.5
  },
  "luminance": 0.05168
}

Semantic roles & 50–950 ramp

primary
#2522BC
secondary
#CBCD6D
accent
#EC3CE9
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0514
muted
#7D7A83

Preview Lab

Preview with #2522BC

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

Preview Lab → · Contrast checker → · Palette generator →

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