#2525AD#2525AD

#2525AD is a dark, highly saturated blue. Relative luminance 0.047; OKLCH L 38.2% C 0.205 H 271.2°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#2525AD
RGBrgb(37, 37, 173)
HSLhsl(240, 65%, 41%)
HSVhsv(240, 79%, 68%)
CMYKcmyk(78.6%, 78.6%, 0%, 32.2%)
CIE-LABlab(25.96, 46.74, -70.86)
CIE-LCHlch(25.96, 84.89, 303.41°)
OKLaboklab(38.18% 0.0043 -0.2051)
OKLCHoklch(38.18% 0.205 271.2)
XYZxyz(8.9648, 4.7326, 39.9681)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2525AD #ADAD25
analogous
#2569AD #2525AD #6925AD
triadic
#2525AD #AD2525 #25AD25
tetradic
#2525AD #AD2569 #ADAD25 #25AD69
square
#2525AD #AD2569 #ADAD25 #25AD69
split-complementary
#2525AD #AD6925 #69AD25
monochromatic
#0F0F48 #1A1A7B #2525AD #3A3AD5 #6D6DE0

Accessibility & contrast

On white

10.79
#2525AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#2525AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2525AD
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2525AD#FFFFFF#000000##FFFFFF
##2525AD1.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B1
Deuteranopia (green-blind)
#0036AB
Tritanopia (blue-blind)
#004F69
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2525ad;
/* rgb */ color: rgb(37, 37, 173);
/* oklch */ color: oklch(38.2% 0.205 271.2);
Tailwind
colors: {
  custom: {
    50: '#7962c7',
    500: '#2525ad',
    950: '#000000',
  },
}
SCSS
$custom: #2525ad;
$custom-light: #7962c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2525ad",
  "rgb": {
    "r": 37,
    "g": 37,
    "b": 173
  },
  "hsl": {
    "h": 240,
    "s": 64.762,
    "l": 41.176
  },
  "oklch": {
    "l": 0.38184,
    "c": 0.20519,
    "h": 271.2
  },
  "luminance": 0.04734
}

Semantic roles & 50–950 ramp

primary
#2525AD
secondary
#C6C668
accent
#E840E8
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2525AD

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

Preview Lab → · Contrast checker → · Palette generator →

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