#2525AC#2525AC

#2525AC is a dark, highly saturated blue. Relative luminance 0.047; OKLCH L 38.1% C 0.204 H 271.3°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#2525AC
RGBrgb(37, 37, 172)
HSLhsl(240, 65%, 41%)
HSVhsv(240, 78%, 67%)
CMYKcmyk(78.5%, 78.5%, 0%, 32.5%)
CIE-LABlab(25.84, 46.42, -70.45)
CIE-LCHlch(25.84, 84.36, 303.38°)
OKLaboklab(38.07% 0.0045 -0.204)
OKLCHoklch(38.07% 0.204 271.3)
XYZxyz(8.8684, 4.6940, 39.4604)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2525AC #ACAC25
analogous
#2568AC #2525AC #6825AC
triadic
#2525AC #AC2525 #25AC25
tetradic
#2525AC #AC2568 #ACAC25 #25AC68
square
#2525AC #AC2568 #ACAC25 #25AC68
split-complementary
#2525AC #AC6825 #68AC25
monochromatic
#0F0F47 #1A1A7A #2525AC #3A3AD5 #6C6CDF

Accessibility & contrast

On white

10.83
#2525AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#2525AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2525AC
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2525AC#FFFFFF#000000##FFFFFF
##2525AC1.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B0
Deuteranopia (green-blind)
#0036AA
Tritanopia (blue-blind)
#004E68
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2525ac;
/* rgb */ color: rgb(37, 37, 172);
/* oklch */ color: oklch(38.1% 0.204 271.3);
Tailwind
colors: {
  custom: {
    50: '#7862c6',
    500: '#2525ac',
    950: '#000000',
  },
}
SCSS
$custom: #2525ac;
$custom-light: #7862c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2525ac",
  "rgb": {
    "r": 37,
    "g": 37,
    "b": 172
  },
  "hsl": {
    "h": 240,
    "s": 64.593,
    "l": 40.98
  },
  "oklch": {
    "l": 0.38071,
    "c": 0.20401,
    "h": 271.3
  },
  "luminance": 0.04695
}

Semantic roles & 50–950 ramp

primary
#2525AC
secondary
#C6C667
accent
#E840E8
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2525AC

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

Preview Lab → · Contrast checker → · Palette generator →

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