#2525C1#2525C1

#2525C1 is a dark, highly saturated blue. Relative luminance 0.056; OKLCH L 40.5% C 0.228 H 270.1°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#2525C1
RGBrgb(37, 37, 193)
HSLhsl(240, 68%, 45%)
HSVhsv(240, 81%, 76%)
CMYKcmyk(80.8%, 80.8%, 0%, 24.3%)
CIE-LABlab(28.29, 53.11, -78.90)
CIE-LCHlch(28.29, 95.11, 303.95°)
OKLaboklab(40.49% 0.0002 -0.2284)
OKLCHoklch(40.49% 0.228 270.1)
XYZxyz(11.0469, 5.5654, 50.9338)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2525C1 #C1C125
analogous
#2573C1 #2525C1 #7325C1
triadic
#2525C1 #C12525 #25C125
tetradic
#2525C1 #C12573 #C1C125 #25C173
square
#2525C1 #C12573 #C1C125 #25C173
split-complementary
#2525C1 #C17325 #73C125
monochromatic
#11115A #1B1B8E #2525C1 #4747DC #7B7BE6

Accessibility & contrast

On white

9.94
#2525C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2525C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2525C1
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2525C1#FFFFFF#000000##FFFFFF
##2525C11.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BC5
Deuteranopia (green-blind)
#003ABE
Tritanopia (blue-blind)
#005774
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2525c1;
/* rgb */ color: rgb(37, 37, 193);
/* oklch */ color: oklch(40.5% 0.228 270.1);
Tailwind
colors: {
  custom: {
    50: '#7e64d5',
    500: '#2525c1',
    950: '#000000',
  },
}
SCSS
$custom: #2525c1;
$custom-light: #7e64d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2525c1",
  "rgb": {
    "r": 37,
    "g": 37,
    "b": 193
  },
  "hsl": {
    "h": 240,
    "s": 67.826,
    "l": 45.098
  },
  "oklch": {
    "l": 0.40486,
    "c": 0.22843,
    "h": 270.1
  },
  "luminance": 0.05567
}

Semantic roles & 50–950 ramp

primary
#2525C1
secondary
#CECE74
accent
#EB3DEB
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2525C1

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

Preview Lab → · Contrast checker → · Palette generator →

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