#2525AE#2525AE

#2525AE is a dark, highly saturated blue. Relative luminance 0.048; OKLCH L 38.3% C 0.206 H 271.1°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#2525AE
RGBrgb(37, 37, 174)
HSLhsl(240, 65%, 41%)
HSVhsv(240, 79%, 68%)
CMYKcmyk(78.7%, 78.7%, 0%, 31.8%)
CIE-LABlab(26.07, 47.07, -71.27)
CIE-LCHlch(26.07, 85.41, 303.44°)
OKLaboklab(38.3% 0.0041 -0.2063)
OKLCHoklch(38.3% 0.206 271.1)
XYZxyz(9.0619, 4.7714, 40.4796)
Luminance0.0477 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2525AE #AEAE25
analogous
#256AAE #2525AE #6A25AE
triadic
#2525AE #AE2525 #25AE25
tetradic
#2525AE #AE256A #AEAE25 #25AE6A
square
#2525AE #AE256A #AEAE25 #25AE6A
split-complementary
#2525AE #AE6A25 #6AAE25
monochromatic
#101049 #1A1A7C #2525AE #3B3BD5 #6D6DE0

Accessibility & contrast

On white

10.74
#2525AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2525AE
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2525AE#FFFFFF#000000##FFFFFF
##2525AE1.0010.741.9510.74
#FFFFFF10.741.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B2
Deuteranopia (green-blind)
#0037AC
Tritanopia (blue-blind)
#004F69
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2525ae;
/* rgb */ color: rgb(37, 37, 174);
/* oklch */ color: oklch(38.3% 0.206 271.1);
Tailwind
colors: {
  custom: {
    50: '#7962c8',
    500: '#2525ae',
    950: '#000000',
  },
}
SCSS
$custom: #2525ae;
$custom-light: #7962c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2525ae",
  "rgb": {
    "r": 37,
    "g": 37,
    "b": 174
  },
  "hsl": {
    "h": 240,
    "s": 64.929,
    "l": 41.373
  },
  "oklch": {
    "l": 0.38298,
    "c": 0.20638,
    "h": 271.1
  },
  "luminance": 0.04772
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2525AE

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

Preview Lab → · Contrast checker → · Palette generator →

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