#2525A4#2525A4

#2525A4 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.2% C 0.194 H 271.8°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#2525A4
RGBrgb(37, 37, 164)
HSLhsl(240, 63%, 39%)
HSVhsv(240, 77%, 64%)
CMYKcmyk(77.4%, 77.4%, 0%, 35.7%)
CIE-LABlab(24.94, 43.78, -67.11)
CIE-LCHlch(24.94, 80.13, 303.12°)
OKLaboklab(37.17% 0.0061 -0.1943)
OKLCHoklch(37.17% 0.194 271.8)
XYZxyz(8.1231, 4.3959, 35.5351)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2525A4 #A4A425
analogous
#2565A4 #2525A4 #6525A4
triadic
#2525A4 #A42525 #25A425
tetradic
#2525A4 #A42565 #A4A425 #25A465
square
#2525A4 #A42565 #A4A425 #25A465
split-complementary
#2525A4 #A46525 #65A425
monochromatic
#0E0E40 #1A1A72 #2525A4 #3535D1 #6767DD

Accessibility & contrast

On white

11.17
#2525A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2525A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2525A4
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2525A4#FFFFFF#000000##FFFFFF
##2525A41.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A8
Deuteranopia (green-blind)
#0035A2
Tritanopia (blue-blind)
#004B63
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2525a4;
/* rgb */ color: rgb(37, 37, 164);
/* oklch */ color: oklch(37.2% 0.194 271.8);
Tailwind
colors: {
  custom: {
    50: '#7662c0',
    500: '#2525a4',
    950: '#000000',
  },
}
SCSS
$custom: #2525a4;
$custom-light: #7662c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2525a4",
  "rgb": {
    "r": 37,
    "g": 37,
    "b": 164
  },
  "hsl": {
    "h": 240,
    "s": 63.184,
    "l": 39.412
  },
  "oklch": {
    "l": 0.37169,
    "c": 0.19438,
    "h": 271.8
  },
  "luminance": 0.04397
}

Semantic roles & 50–950 ramp

primary
#2525A4
secondary
#C2C262
accent
#E642E6
background
#F7F5FC
surface
#EEEAF8
border
#C9C6D1
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2525A4

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

Preview Lab → · Contrast checker → · Palette generator →

#2525A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva