#2525A9#2525A9

#2525A9 is a dark, highly saturated blue. Relative luminance 0.046; OKLCH L 37.7% C 0.200 H 271.4°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#2525A9
RGBrgb(37, 37, 169)
HSLhsl(240, 64%, 40%)
HSVhsv(240, 78%, 66%)
CMYKcmyk(78.1%, 78.1%, 0%, 33.7%)
CIE-LABlab(25.50, 45.43, -69.20)
CIE-LCHlch(25.50, 82.78, 303.28°)
OKLaboklab(37.73% 0.0051 -0.2004)
OKLCHoklch(37.73% 0.2 271.4)
XYZxyz(8.5835, 4.5801, 37.9601)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2525A9 #A9A925
analogous
#2567A9 #2525A9 #6725A9
triadic
#2525A9 #A92525 #25A925
tetradic
#2525A9 #A92567 #A9A925 #25A967
square
#2525A9 #A92567 #A9A925 #25A967
split-complementary
#2525A9 #A96725 #67A925
monochromatic
#0F0F45 #1A1A77 #2525A9 #3838D3 #6A6ADE

Accessibility & contrast

On white

10.96
#2525A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2525A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2525A9
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2525A9#FFFFFF#000000##FFFFFF
##2525A91.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043AD
Deuteranopia (green-blind)
#0036A7
Tritanopia (blue-blind)
#004D66
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2525a9;
/* rgb */ color: rgb(37, 37, 169);
/* oklch */ color: oklch(37.7% 0.200 271.4);
Tailwind
colors: {
  custom: {
    50: '#7862c4',
    500: '#2525a9',
    950: '#000000',
  },
}
SCSS
$custom: #2525a9;
$custom-light: #7862c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2525a9",
  "rgb": {
    "r": 37,
    "g": 37,
    "b": 169
  },
  "hsl": {
    "h": 240,
    "s": 64.078,
    "l": 40.392
  },
  "oklch": {
    "l": 0.37731,
    "c": 0.20042,
    "h": 271.4
  },
  "luminance": 0.04581
}

Semantic roles & 50–950 ramp

primary
#2525A9
secondary
#C4C465
accent
#E741E7
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2525A9

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

Preview Lab → · Contrast checker → · Palette generator →

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