#2522AF#2522AF

#2522AF is a dark, highly saturated blue. Relative luminance 0.046; OKLCH L 38.0% C 0.210 H 271.3°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#2522AF
RGBrgb(37, 34, 175)
HSLhsl(241, 67%, 41%)
HSVhsv(241, 81%, 69%)
CMYKcmyk(78.9%, 80.6%, 0%, 31.4%)
CIE-LABlab(25.66, 48.93, -72.56)
CIE-LCHlch(25.66, 87.51, 303.99°)
OKLaboklab(38.04% 0.0047 -0.21)
OKLCHoklch(38.04% 0.21 271.3)
XYZxyz(9.0702, 4.6315, 40.9651)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2522AF #ACAF22
analogous
#2265AF #2522AF #6B22AF
triadic
#2522AF #AF2522 #22AF25
tetradic
#2522AF #AF2265 #ACAF22 #22AF6B
square
#2522AF #AF2265 #ACAF22 #22AF6B
split-complementary
#2522AF #AF6B22 #65AF22
monochromatic
#0F0E49 #1A187C #2522AF #3A36D8 #6C69E2

Accessibility & contrast

On white

10.90
#2522AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##2522AF#FFFFFF#000000##FFFFFF
##2522AF1.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B3
Deuteranopia (green-blind)
#0036AD
Tritanopia (blue-blind)
#004E69
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2522af;
/* rgb */ color: rgb(37, 34, 175);
/* oklch */ color: oklch(38.0% 0.210 271.3);
Tailwind
colors: {
  custom: {
    50: '#7961c8',
    500: '#2522af',
    950: '#000000',
  },
}
SCSS
$custom: #2522af;
$custom-light: #7961c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2522af",
  "rgb": {
    "r": 37,
    "g": 34,
    "b": 175
  },
  "hsl": {
    "h": 241.277,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.38041,
    "c": 0.21008,
    "h": 271.3
  },
  "luminance": 0.04633
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2522AF

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

Preview Lab → · Contrast checker → · Palette generator →

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