#2522A0#2522A0

#2522A0 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.3% C 0.192 H 272.4°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#2522A0
RGBrgb(37, 34, 160)
HSLhsl(241, 65%, 38%)
HSVhsv(241, 79%, 63%)
CMYKcmyk(76.9%, 78.8%, 0%, 37.3%)
CIE-LABlab(23.92, 44.09, -66.37)
CIE-LCHlch(23.92, 79.68, 303.59°)
OKLaboklab(36.32% 0.008 -0.1921)
OKLCHoklch(36.32% 0.192 272.4)
XYZxyz(7.6780, 4.0746, 33.6327)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2522A0 #9DA022
analogous
#225EA0 #2522A0 #6422A0
triadic
#2522A0 #A02522 #22A025
tetradic
#2522A0 #A0225E #9DA022 #22A064
square
#2522A0 #A0225E #9DA022 #22A064
split-complementary
#2522A0 #A06422 #5EA022
monochromatic
#0E0D3B #19176E #2522A0 #312DD2 #625FDD

Accessibility & contrast

On white

11.57
#2522A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#2522A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2522A0#FFFFFF#000000##FFFFFF
##2522A01.0011.571.8211.57
#FFFFFF11.571.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA4
Deuteranopia (green-blind)
#00339E
Tritanopia (blue-blind)
#004860
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2522a0;
/* rgb */ color: rgb(37, 34, 160);
/* oklch */ color: oklch(36.3% 0.192 272.4);
Tailwind
colors: {
  custom: {
    50: '#7660bd',
    500: '#2522a0',
    950: '#000000',
  },
}
SCSS
$custom: #2522a0;
$custom-light: #7660bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2522a0",
  "rgb": {
    "r": 37,
    "g": 34,
    "b": 160
  },
  "hsl": {
    "h": 241.429,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.36317,
    "c": 0.19227,
    "h": 272.4
  },
  "luminance": 0.04075
}

Semantic roles & 50–950 ramp

primary
#2522A0
secondary
#BFC25C
accent
#E840E4
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2522A0

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

Preview Lab → · Contrast checker → · Palette generator →

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