#2522C1#2522C1

#2522C1 is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 40.2% C 0.231 H 270.2°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#2522C1
RGBrgb(37, 34, 193)
HSLhsl(241, 70%, 45%)
HSVhsv(241, 82%, 76%)
CMYKcmyk(80.8%, 82.4%, 0%, 24.3%)
CIE-LABlab(27.81, 54.52, -79.69)
CIE-LCHlch(27.81, 96.56, 304.38°)
OKLaboklab(40.15% 0.0008 -0.2307)
OKLCHoklch(40.15% 0.231 270.2)
XYZxyz(10.9573, 5.3864, 50.9039)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2522C1 #BEC122
analogous
#226FC1 #2522C1 #7522C1
triadic
#2522C1 #C12522 #22C125
tetradic
#2522C1 #C1226F #BEC122 #22C175
square
#2522C1 #C1226F #BEC122 #22C175
split-complementary
#2522C1 #C17522 #6FC122
monochromatic
#111059 #1B198D #2522C1 #4542DE #7976E7

Accessibility & contrast

On white

10.11
#2522C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#2522C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2522C1
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2522C1#FFFFFF#000000##FFFFFF
##2522C11.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AC5
Deuteranopia (green-blind)
#0039BE
Tritanopia (blue-blind)
#005674
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2522c1;
/* rgb */ color: rgb(37, 34, 193);
/* oklch */ color: oklch(40.2% 0.231 270.2);
Tailwind
colors: {
  custom: {
    50: '#7e62d5',
    500: '#2522c1',
    950: '#000000',
  },
}
SCSS
$custom: #2522c1;
$custom-light: #7e62d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2522c1",
  "rgb": {
    "r": 37,
    "g": 34,
    "b": 193
  },
  "hsl": {
    "h": 241.132,
    "s": 70.044,
    "l": 44.51
  },
  "oklch": {
    "l": 0.40153,
    "c": 0.23068,
    "h": 270.2
  },
  "luminance": 0.05388
}

Semantic roles & 50–950 ramp

primary
#2522C1
secondary
#CDCE71
accent
#ED3BE9
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0514
muted
#7D7A83

Preview Lab

Preview with #2522C1

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

Preview Lab → · Contrast checker → · Palette generator →

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