#2525C5#2525C5

#2525C5 is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 41.0% C 0.233 H 269.8°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#2525C5
RGBrgb(37, 37, 197)
HSLhsl(240, 68%, 46%)
HSVhsv(240, 81%, 77%)
CMYKcmyk(81.2%, 81.2%, 0%, 22.7%)
CIE-LABlab(28.76, 54.35, -80.46)
CIE-LCHlch(28.76, 97.10, 304.04°)
OKLaboklab(40.95% -0.0006 -0.233)
OKLCHoklch(40.95% 0.233 269.8)
XYZxyz(11.4991, 5.7463, 53.3156)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2525C5 #C5C525
analogous
#2575C5 #2525C5 #7525C5
triadic
#2525C5 #C52525 #25C525
tetradic
#2525C5 #C52575 #C5C525 #25C575
square
#2525C5 #C52575 #C5C525 #25C575
split-complementary
#2525C5 #C57525 #75C525
monochromatic
#12125E #1B1B91 #2525C5 #4A4ADD #7E7EE7

Accessibility & contrast

On white

9.77
#2525C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#2525C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2525C5
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2525C5#FFFFFF#000000##FFFFFF
##2525C51.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CC9
Deuteranopia (green-blind)
#003BC2
Tritanopia (blue-blind)
#005876
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2525c5;
/* rgb */ color: rgb(37, 37, 197);
/* oklch */ color: oklch(41.0% 0.233 269.8);
Tailwind
colors: {
  custom: {
    50: '#7f64d8',
    500: '#2525c5',
    950: '#000000',
  },
}
SCSS
$custom: #2525c5;
$custom-light: #7f64d8;
$custom-dark: #000000;
JSON
{
  "hex": "#2525c5",
  "rgb": {
    "r": 37,
    "g": 37,
    "b": 197
  },
  "hsl": {
    "h": 240,
    "s": 68.376,
    "l": 45.882
  },
  "oklch": {
    "l": 0.40953,
    "c": 0.23296,
    "h": 269.8
  },
  "luminance": 0.05748
}

Semantic roles & 50–950 ramp

primary
#2525C5
secondary
#CFCF77
accent
#EB3DEB
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0615
muted
#7D7A83

Preview Lab

Preview with #2525C5

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

Preview Lab → · Contrast checker → · Palette generator →

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