#2522AC#2522AC

#2522AC is a dark, highly saturated blue. Relative luminance 0.045; OKLCH L 37.7% C 0.207 H 271.5°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#2522AC
RGBrgb(37, 34, 172)
HSLhsl(241, 67%, 40%)
HSVhsv(241, 80%, 67%)
CMYKcmyk(78.5%, 80.2%, 0%, 32.5%)
CIE-LABlab(25.31, 47.97, -71.34)
CIE-LCHlch(25.31, 85.97, 303.92°)
OKLaboklab(37.69% 0.0054 -0.2065)
OKLCHoklch(37.69% 0.207 271.5)
XYZxyz(8.7789, 4.5150, 39.4305)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2522AC #A9AC22
analogous
#2264AC #2522AC #6A22AC
triadic
#2522AC #AC2522 #22AC25
tetradic
#2522AC #AC2264 #A9AC22 #22AC6A
square
#2522AC #AC2264 #A9AC22 #22AC6A
split-complementary
#2522AC #AC6A22 #64AC22
monochromatic
#0F0E46 #1A1879 #2522AC #3834D7 #6A67E1

Accessibility & contrast

On white

11.03
#2522AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2522AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2522AC
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2522AC#FFFFFF#000000##FFFFFF
##2522AC1.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043B0
Deuteranopia (green-blind)
#0035AA
Tritanopia (blue-blind)
#004D67
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2522ac;
/* rgb */ color: rgb(37, 34, 172);
/* oklch */ color: oklch(37.7% 0.207 271.5);
Tailwind
colors: {
  custom: {
    50: '#7960c6',
    500: '#2522ac',
    950: '#000000',
  },
}
SCSS
$custom: #2522ac;
$custom-light: #7960c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2522ac",
  "rgb": {
    "r": 37,
    "g": 34,
    "b": 172
  },
  "hsl": {
    "h": 241.304,
    "s": 66.99,
    "l": 40.392
  },
  "oklch": {
    "l": 0.37693,
    "c": 0.20657,
    "h": 271.5
  },
  "luminance": 0.04516
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2522AC

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

Preview Lab → · Contrast checker → · Palette generator →

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