#2525BD#2525BD

#2525BD is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 40.0% C 0.224 H 270.3°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#2525BD
RGBrgb(37, 37, 189)
HSLhsl(240, 67%, 44%)
HSVhsv(240, 80%, 74%)
CMYKcmyk(80.4%, 80.4%, 0%, 25.9%)
CIE-LABlab(27.82, 51.86, -77.32)
CIE-LCHlch(27.82, 93.10, 303.85°)
OKLaboklab(40.02% 0.001 -0.2239)
OKLCHoklch(40.02% 0.224 270.3)
XYZxyz(10.6067, 5.3893, 48.6155)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2525BD #BDBD25
analogous
#2571BD #2525BD #7125BD
triadic
#2525BD #BD2525 #25BD25
tetradic
#2525BD #BD2571 #BDBD25 #25BD71
square
#2525BD #BD2571 #BDBD25 #25BD71
split-complementary
#2525BD #BD7125 #71BD25
monochromatic
#111157 #1B1B8A #2525BD #4545DB #7878E5

Accessibility & contrast

On white

10.10
#2525BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#2525BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2525BD
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2525BD#FFFFFF#000000##FFFFFF
##2525BD1.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049C1
Deuteranopia (green-blind)
#003ABA
Tritanopia (blue-blind)
#005572
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2525bd;
/* rgb */ color: rgb(37, 37, 189);
/* oklch */ color: oklch(40.0% 0.224 270.3);
Tailwind
colors: {
  custom: {
    50: '#7d63d2',
    500: '#2525bd',
    950: '#000000',
  },
}
SCSS
$custom: #2525bd;
$custom-light: #7d63d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2525bd",
  "rgb": {
    "r": 37,
    "g": 37,
    "b": 189
  },
  "hsl": {
    "h": 240,
    "s": 67.257,
    "l": 44.314
  },
  "oklch": {
    "l": 0.40022,
    "c": 0.22387,
    "h": 270.3
  },
  "luminance": 0.05391
}

Semantic roles & 50–950 ramp

primary
#2525BD
secondary
#CCCC72
accent
#EA3EEA
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0514
muted
#7D7A83

Preview Lab

Preview with #2525BD

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

Preview Lab → · Contrast checker → · Palette generator →

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