#2525A2#2525A2

#2525A2 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.9% C 0.192 H 271.9°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#2525A2
RGBrgb(37, 37, 162)
HSLhsl(240, 63%, 39%)
HSVhsv(240, 77%, 64%)
CMYKcmyk(77.2%, 77.2%, 0%, 36.5%)
CIE-LABlab(24.72, 43.11, -66.27)
CIE-LCHlch(24.72, 79.06, 303.05°)
OKLaboklab(36.95% 0.0064 -0.1918)
OKLCHoklch(36.95% 0.192 271.9)
XYZxyz(7.9439, 4.3242, 34.5914)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2525A2 #A2A225
analogous
#2564A2 #2525A2 #6425A2
triadic
#2525A2 #A22525 #25A225
tetradic
#2525A2 #A22564 #A2A225 #25A264
square
#2525A2 #A22564 #A2A225 #25A264
split-complementary
#2525A2 #A26425 #64A225
monochromatic
#0E0E3E #1A1A70 #2525A2 #3434D1 #6565DC

Accessibility & contrast

On white

11.26
#2525A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2525A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2525A2
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2525A2#FFFFFF#000000##FFFFFF
##2525A21.0011.261.8711.26
#FFFFFF11.261.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A6
Deuteranopia (green-blind)
#0034A0
Tritanopia (blue-blind)
#004A62
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2525a2;
/* rgb */ color: rgb(37, 37, 162);
/* oklch */ color: oklch(36.9% 0.192 271.9);
Tailwind
colors: {
  custom: {
    50: '#7662bf',
    500: '#2525a2',
    950: '#000000',
  },
}
SCSS
$custom: #2525a2;
$custom-light: #7662bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2525a2",
  "rgb": {
    "r": 37,
    "g": 37,
    "b": 162
  },
  "hsl": {
    "h": 240,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.36945,
    "c": 0.19194,
    "h": 271.9
  },
  "luminance": 0.04325
}

Semantic roles & 50–950 ramp

primary
#2525A2
secondary
#C2C261
accent
#E642E6
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2525A2

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

Preview Lab → · Contrast checker → · Palette generator →

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