#2522AA#2522AA

#2522AA is a dark, highly saturated blue. Relative luminance 0.044; OKLCH L 37.5% C 0.204 H 271.6°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#2522AA
RGBrgb(37, 34, 170)
HSLhsl(241, 67%, 40%)
HSVhsv(241, 80%, 67%)
CMYKcmyk(78.2%, 80%, 0%, 33.3%)
CIE-LABlab(25.07, 47.33, -70.52)
CIE-LCHlch(25.07, 84.93, 303.87°)
OKLaboklab(37.46% 0.0058 -0.2041)
OKLCHoklch(37.46% 0.204 271.6)
XYZxyz(8.5882, 4.4387, 38.4265)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2522AA #A7AA22
analogous
#2263AA #2522AA #6922AA
triadic
#2522AA #AA2522 #22AA25
tetradic
#2522AA #AA2263 #A7AA22 #22AA69
square
#2522AA #AA2263 #A7AA22 #22AA69
split-complementary
#2522AA #AA6922 #63AA22
monochromatic
#0F0E44 #1A1877 #2522AA #3733D6 #6966E0

Accessibility & contrast

On white

11.12
#2522AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2522AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2522AA#FFFFFF#000000##FFFFFF
##2522AA1.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042AE
Deuteranopia (green-blind)
#0035A8
Tritanopia (blue-blind)
#004C66
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2522aa;
/* rgb */ color: rgb(37, 34, 170);
/* oklch */ color: oklch(37.5% 0.204 271.6);
Tailwind
colors: {
  custom: {
    50: '#7860c5',
    500: '#2522aa',
    950: '#000000',
  },
}
SCSS
$custom: #2522aa;
$custom-light: #7860c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2522aa",
  "rgb": {
    "r": 37,
    "g": 34,
    "b": 170
  },
  "hsl": {
    "h": 241.324,
    "s": 66.667,
    "l": 40
  },
  "oklch": {
    "l": 0.37462,
    "c": 0.20422,
    "h": 271.6
  },
  "luminance": 0.0444
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2522AA

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

Preview Lab → · Contrast checker → · Palette generator →

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