#2525D4#2525D4

#2525D4 is a dark, highly saturated blue. Relative luminance 0.065; OKLCH L 42.7% C 0.250 H 269.2°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#2525D4
RGBrgb(37, 37, 212)
HSLhsl(240, 70%, 49%)
HSVhsv(240, 83%, 83%)
CMYKcmyk(82.5%, 82.5%, 0%, 16.9%)
CIE-LABlab(30.56, 58.90, -86.22)
CIE-LCHlch(30.56, 104.41, 304.34°)
OKLaboklab(42.72% -0.0036 -0.2496)
OKLCHoklch(42.72% 0.25 269.2)
XYZxyz(13.3041, 6.4683, 62.8219)
Luminance0.0647 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2525D4 #D4D425
analogous
#257DD4 #2525D4 #7D25D4
triadic
#2525D4 #D42525 #25D425
tetradic
#2525D4 #D4257D #D4D425 #25D47D
square
#2525D4 #D4257D #D4D425 #25D47D
split-complementary
#2525D4 #D47D25 #7DD425
monochromatic
#13136C #1C1CA0 #2525D4 #5555E1 #8989EA

Accessibility & contrast

On white

9.15
#2525D4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#2525D4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2525D4
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2525D4#FFFFFF#000000##FFFFFF
##2525D41.009.152.299.15
#FFFFFF9.151.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051D9
Deuteranopia (green-blind)
#003ED1
Tritanopia (blue-blind)
#005E7F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2525d4;
/* rgb */ color: rgb(37, 37, 212);
/* oklch */ color: oklch(42.7% 0.250 269.2);
Tailwind
colors: {
  custom: {
    50: '#8265e3',
    500: '#2525d4',
    950: '#000000',
  },
}
SCSS
$custom: #2525d4;
$custom-light: #8265e3;
$custom-dark: #000000;
JSON
{
  "hex": "#2525d4",
  "rgb": {
    "r": 37,
    "g": 37,
    "b": 212
  },
  "hsl": {
    "h": 240,
    "s": 70.281,
    "l": 48.824
  },
  "oklch": {
    "l": 0.42716,
    "c": 0.24963,
    "h": 269.2
  },
  "luminance": 0.0647
}

Semantic roles & 50–950 ramp

primary
#2525D4
secondary
#D4D481
accent
#ED3BED
background
#F9F6FE
surface
#F1EBFC
border
#CBC6D5
text
#0D0616
muted
#7E7A84

Preview Lab

Preview with #2525D4

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

Preview Lab → · Contrast checker → · Palette generator →

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