#2522A5#2522A5

#2522A5 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.9% C 0.198 H 272.0°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#2522A5
RGBrgb(37, 34, 165)
HSLhsl(241, 66%, 39%)
HSVhsv(241, 79%, 65%)
CMYKcmyk(77.6%, 79.4%, 0%, 35.3%)
CIE-LABlab(24.49, 45.72, -68.46)
CIE-LCHlch(24.49, 82.32, 303.74°)
OKLaboklab(36.89% 0.0069 -0.1982)
OKLCHoklch(36.89% 0.198 272)
XYZxyz(8.1242, 4.2531, 35.9828)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2522A5 #A2A522
analogous
#2261A5 #2522A5 #6722A5
triadic
#2522A5 #A52522 #22A525
tetradic
#2522A5 #A52261 #A2A522 #22A567
square
#2522A5 #A52261 #A2A522 #22A567
split-complementary
#2522A5 #A56722 #61A522
monochromatic
#0E0D40 #1A1872 #2522A5 #3430D4 #6563DF

Accessibility & contrast

On white

11.35
#2522A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#2522A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2522A5
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2522A5#FFFFFF#000000##FFFFFF
##2522A51.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A9
Deuteranopia (green-blind)
#0034A3
Tritanopia (blue-blind)
#004A63
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2522a5;
/* rgb */ color: rgb(37, 34, 165);
/* oklch */ color: oklch(36.9% 0.198 272.0);
Tailwind
colors: {
  custom: {
    50: '#7760c1',
    500: '#2522a5',
    950: '#000000',
  },
}
SCSS
$custom: #2522a5;
$custom-light: #7760c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2522a5",
  "rgb": {
    "r": 37,
    "g": 34,
    "b": 165
  },
  "hsl": {
    "h": 241.374,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.36887,
    "c": 0.19828,
    "h": 272
  },
  "luminance": 0.04254
}

Semantic roles & 50–950 ramp

primary
#2522A5
secondary
#C2C45F
accent
#E93FE5
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2522A5

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

Preview Lab → · Contrast checker → · Palette generator →

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