#2525A1#2525A1

#2525A1 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.8% C 0.191 H 272.0°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#2525A1
RGBrgb(37, 37, 161)
HSLhsl(240, 63%, 39%)
HSVhsv(240, 77%, 63%)
CMYKcmyk(77%, 77%, 0%, 36.9%)
CIE-LABlab(24.60, 42.78, -65.85)
CIE-LCHlch(24.60, 78.52, 303.01°)
OKLaboklab(36.83% 0.0066 -0.1906)
OKLCHoklch(36.83% 0.191 272)
XYZxyz(7.8554, 4.2888, 34.1251)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2525A1 #A1A125
analogous
#2563A1 #2525A1 #6325A1
triadic
#2525A1 #A12525 #25A125
tetradic
#2525A1 #A12563 #A1A125 #25A163
square
#2525A1 #A12563 #A1A125 #25A163
split-complementary
#2525A1 #A16325 #63A125
monochromatic
#0E0E3D #1A1A6F #2525A1 #3333D0 #6565DC

Accessibility & contrast

On white

11.30
#2525A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2525A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2525A1
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2525A1#FFFFFF#000000##FFFFFF
##2525A11.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A5
Deuteranopia (green-blind)
#00349F
Tritanopia (blue-blind)
#004A62
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2525a1;
/* rgb */ color: rgb(37, 37, 161);
/* oklch */ color: oklch(36.8% 0.191 272.0);
Tailwind
colors: {
  custom: {
    50: '#7662be',
    500: '#2525a1',
    950: '#000000',
  },
}
SCSS
$custom: #2525a1;
$custom-light: #7662be;
$custom-dark: #000000;
JSON
{
  "hex": "#2525a1",
  "rgb": {
    "r": 37,
    "g": 37,
    "b": 161
  },
  "hsl": {
    "h": 240,
    "s": 62.626,
    "l": 38.824
  },
  "oklch": {
    "l": 0.36834,
    "c": 0.19072,
    "h": 272
  },
  "luminance": 0.0429
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2525A1

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

Preview Lab → · Contrast checker → · Palette generator →

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