#2525A7#2525A7

#2525A7 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.5% C 0.198 H 271.6°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#2525A7
RGBrgb(37, 37, 167)
HSLhsl(240, 64%, 40%)
HSVhsv(240, 78%, 65%)
CMYKcmyk(77.8%, 77.8%, 0%, 34.5%)
CIE-LABlab(25.28, 44.77, -68.37)
CIE-LCHlch(25.28, 81.73, 303.22°)
OKLaboklab(37.51% 0.0055 -0.1979)
OKLCHoklch(37.51% 0.198 271.6)
XYZxyz(8.3972, 4.5056, 36.9788)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2525A7 #A7A725
analogous
#2566A7 #2525A7 #6625A7
triadic
#2525A7 #A72525 #25A725
tetradic
#2525A7 #A72566 #A7A725 #25A766
square
#2525A7 #A72566 #A7A725 #25A766
split-complementary
#2525A7 #A76625 #66A725
monochromatic
#0F0F43 #1A1A75 #2525A7 #3737D3 #6969DE

Accessibility & contrast

On white

11.05
#2525A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2525A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2525A7
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2525A7#FFFFFF#000000##FFFFFF
##2525A71.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042AB
Deuteranopia (green-blind)
#0035A5
Tritanopia (blue-blind)
#004C65
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2525a7;
/* rgb */ color: rgb(37, 37, 167);
/* oklch */ color: oklch(37.5% 0.198 271.6);
Tailwind
colors: {
  custom: {
    50: '#7762c2',
    500: '#2525a7',
    950: '#000000',
  },
}
SCSS
$custom: #2525a7;
$custom-light: #7762c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2525a7",
  "rgb": {
    "r": 37,
    "g": 37,
    "b": 167
  },
  "hsl": {
    "h": 240,
    "s": 63.725,
    "l": 40
  },
  "oklch": {
    "l": 0.37506,
    "c": 0.19802,
    "h": 271.6
  },
  "luminance": 0.04506
}

Semantic roles & 50–950 ramp

primary
#2525A7
secondary
#C4C464
accent
#E741E7
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0A0513
muted
#7C7982

Preview Lab

Preview with #2525A7

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

Preview Lab → · Contrast checker → · Palette generator →

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