#2522AE#2522AE

#2522AE is a dark, highly saturated blue. Relative luminance 0.046; OKLCH L 37.9% C 0.209 H 271.4°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#2522AE
RGBrgb(37, 34, 174)
HSLhsl(241, 67%, 41%)
HSVhsv(241, 80%, 68%)
CMYKcmyk(78.7%, 80.5%, 0%, 31.8%)
CIE-LABlab(25.54, 48.61, -72.15)
CIE-LCHlch(25.54, 87.00, 303.97°)
OKLaboklab(37.92% 0.005 -0.2089)
OKLCHoklch(37.92% 0.209 271.4)
XYZxyz(8.9724, 4.5924, 40.4497)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2522AE #ABAE22
analogous
#2265AE #2522AE #6B22AE
triadic
#2522AE #AE2522 #22AE25
tetradic
#2522AE #AE2265 #ABAE22 #22AE6B
square
#2522AE #AE2265 #ABAE22 #22AE6B
split-complementary
#2522AE #AE6B22 #65AE22
monochromatic
#0F0E48 #1A187B #2522AE #3936D8 #6B69E2

Accessibility & contrast

On white

10.95
#2522AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2522AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2522AE
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2522AE#FFFFFF#000000##FFFFFF
##2522AE1.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043B2
Deuteranopia (green-blind)
#0035AC
Tritanopia (blue-blind)
#004E68
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2522ae;
/* rgb */ color: rgb(37, 34, 174);
/* oklch */ color: oklch(37.9% 0.209 271.4);
Tailwind
colors: {
  custom: {
    50: '#7961c8',
    500: '#2522ae',
    950: '#000000',
  },
}
SCSS
$custom: #2522ae;
$custom-light: #7961c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2522ae",
  "rgb": {
    "r": 37,
    "g": 34,
    "b": 174
  },
  "hsl": {
    "h": 241.286,
    "s": 67.308,
    "l": 40.784
  },
  "oklch": {
    "l": 0.37925,
    "c": 0.20892,
    "h": 271.4
  },
  "luminance": 0.04593
}

Semantic roles & 50–950 ramp

primary
#2522AE
secondary
#C5C764
accent
#EA3EE6
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2522AE

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

Preview Lab → · Contrast checker → · Palette generator →

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