#2522B0#2522B0

#2522B0 is a dark, highly saturated blue. Relative luminance 0.047; OKLCH L 38.2% C 0.211 H 271.2°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#2522B0
RGBrgb(37, 34, 176)
HSLhsl(241, 68%, 41%)
HSVhsv(241, 81%, 69%)
CMYKcmyk(79%, 80.7%, 0%, 31%)
CIE-LABlab(25.78, 49.24, -72.96)
CIE-LCHlch(25.78, 88.03, 304.02°)
OKLaboklab(38.16% 0.0045 -0.2112)
OKLCHoklch(38.16% 0.211 271.2)
XYZxyz(9.1688, 4.6709, 41.4842)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2522B0 #ADB022
analogous
#2266B0 #2522B0 #6C22B0
triadic
#2522B0 #B02522 #22B025
tetradic
#2522B0 #B02266 #ADB022 #22B06C
square
#2522B0 #B02266 #ADB022 #22B06C
split-complementary
#2522B0 #B06C22 #66B022
monochromatic
#0F0E49 #1A187D #2522B0 #3A37D8 #6D6AE2

Accessibility & contrast

On white

10.86
#2522B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#2522B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2522B0
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2522B0#FFFFFF#000000##FFFFFF
##2522B01.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B4
Deuteranopia (green-blind)
#0036AE
Tritanopia (blue-blind)
#004F6A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2522b0;
/* rgb */ color: rgb(37, 34, 176);
/* oklch */ color: oklch(38.2% 0.211 271.2);
Tailwind
colors: {
  custom: {
    50: '#7a61c9',
    500: '#2522b0',
    950: '#000000',
  },
}
SCSS
$custom: #2522b0;
$custom-light: #7a61c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2522b0",
  "rgb": {
    "r": 37,
    "g": 34,
    "b": 176
  },
  "hsl": {
    "h": 241.268,
    "s": 67.619,
    "l": 41.176
  },
  "oklch": {
    "l": 0.38157,
    "c": 0.21125,
    "h": 271.2
  },
  "luminance": 0.04672
}

Semantic roles & 50–950 ramp

primary
#2522B0
secondary
#C6C866
accent
#EA3DE7
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2522B0

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

Preview Lab → · Contrast checker → · Palette generator →

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