#2525BC#2525BC

#2525BC is a dark, highly saturated blue. Relative luminance 0.053; OKLCH L 39.9% C 0.223 H 270.3°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#2525BC
RGBrgb(37, 37, 188)
HSLhsl(240, 67%, 44%)
HSVhsv(240, 80%, 74%)
CMYKcmyk(80.3%, 80.3%, 0%, 26.3%)
CIE-LABlab(27.70, 51.54, -76.92)
CIE-LCHlch(27.70, 92.59, 303.83°)
OKLaboklab(39.91% 0.0012 -0.2227)
OKLCHoklch(39.91% 0.223 270.3)
XYZxyz(10.4985, 5.3461, 48.0458)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2525BC #BCBC25
analogous
#2571BC #2525BC #7125BC
triadic
#2525BC #BC2525 #25BC25
tetradic
#2525BC #BC2571 #BCBC25 #25BC71
square
#2525BC #BC2571 #BCBC25 #25BC71
split-complementary
#2525BC #BC7125 #71BC25
monochromatic
#111156 #1B1B89 #2525BC #4444DA #7777E4

Accessibility & contrast

On white

10.15
#2525BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#2525BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2525BC
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2525BC#FFFFFF#000000##FFFFFF
##2525BC1.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049C0
Deuteranopia (green-blind)
#0039B9
Tritanopia (blue-blind)
#005571
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2525bc;
/* rgb */ color: rgb(37, 37, 188);
/* oklch */ color: oklch(39.9% 0.223 270.3);
Tailwind
colors: {
  custom: {
    50: '#7c63d2',
    500: '#2525bc',
    950: '#000000',
  },
}
SCSS
$custom: #2525bc;
$custom-light: #7c63d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2525bc",
  "rgb": {
    "r": 37,
    "g": 37,
    "b": 188
  },
  "hsl": {
    "h": 240,
    "s": 67.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.39906,
    "c": 0.22272,
    "h": 270.3
  },
  "luminance": 0.05347
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2525BC

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

Preview Lab → · Contrast checker → · Palette generator →

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