#2522B3#2522B3

#2522B3 is a dark, highly saturated blue. Relative luminance 0.048; OKLCH L 38.5% C 0.215 H 271.0°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#2522B3
RGBrgb(37, 34, 179)
HSLhsl(241, 68%, 42%)
HSVhsv(241, 81%, 70%)
CMYKcmyk(79.3%, 81%, 0%, 29.8%)
CIE-LABlab(26.13, 50.19, -74.17)
CIE-LCHlch(26.13, 89.55, 304.09°)
OKLaboklab(38.51% 0.0039 -0.2147)
OKLCHoklch(38.51% 0.215 271)
XYZxyz(9.4689, 4.7910, 43.0648)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2522B3 #B0B322
analogous
#2268B3 #2522B3 #6D22B3
triadic
#2522B3 #B32522 #22B325
tetradic
#2522B3 #B32268 #B0B322 #22B36D
square
#2522B3 #B32268 #B0B322 #22B36D
split-complementary
#2522B3 #B36D22 #68B322
monochromatic
#100E4C #1A1880 #2522B3 #3C39D9 #6F6CE3

Accessibility & contrast

On white

10.72
#2522B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2522B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2522B3
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2522B3#FFFFFF#000000##FFFFFF
##2522B31.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B7
Deuteranopia (green-blind)
#0036B1
Tritanopia (blue-blind)
#00506B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2522b3;
/* rgb */ color: rgb(37, 34, 179);
/* oklch */ color: oklch(38.5% 0.215 271.0);
Tailwind
colors: {
  custom: {
    50: '#7a61cb',
    500: '#2522b3',
    950: '#000000',
  },
}
SCSS
$custom: #2522b3;
$custom-light: #7a61cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2522b3",
  "rgb": {
    "r": 37,
    "g": 34,
    "b": 179
  },
  "hsl": {
    "h": 241.241,
    "s": 68.075,
    "l": 41.765
  },
  "oklch": {
    "l": 0.38507,
    "c": 0.21473,
    "h": 271
  },
  "luminance": 0.04792
}

Semantic roles & 50–950 ramp

primary
#2522B3
secondary
#C7C968
accent
#EB3DE7
background
#F8F5FC
surface
#EFEAF9
border
#CAC6D2
text
#0B0514
muted
#7C7982

Preview Lab

Preview with #2522B3

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

Preview Lab → · Contrast checker → · Palette generator →

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