#2525A0#2525A0

#2525A0 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.7% C 0.189 H 272.1°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#2525A0
RGBrgb(37, 37, 160)
HSLhsl(240, 62%, 39%)
HSVhsv(240, 77%, 63%)
CMYKcmyk(76.9%, 76.9%, 0%, 37.3%)
CIE-LABlab(24.49, 42.44, -65.42)
CIE-LCHlch(24.49, 77.98, 302.97°)
OKLaboklab(36.72% 0.0068 -0.1894)
OKLCHoklch(36.72% 0.189 272.1)
XYZxyz(7.7675, 4.2537, 33.6626)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2525A0 #A0A025
analogous
#2562A0 #2525A0 #6225A0
triadic
#2525A0 #A02525 #25A025
tetradic
#2525A0 #A02562 #A0A025 #25A062
square
#2525A0 #A02562 #A0A025 #25A062
split-complementary
#2525A0 #A06225 #62A025
monochromatic
#0E0E3D #1A1A6E #2525A0 #3232D0 #6464DB

Accessibility & contrast

On white

11.35
#2525A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#2525A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2525A0
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2525A0#FFFFFF#000000##FFFFFF
##2525A01.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A4
Deuteranopia (green-blind)
#00349E
Tritanopia (blue-blind)
#004A61
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2525a0;
/* rgb */ color: rgb(37, 37, 160);
/* oklch */ color: oklch(36.7% 0.189 272.1);
Tailwind
colors: {
  custom: {
    50: '#7561bd',
    500: '#2525a0',
    950: '#000000',
  },
}
SCSS
$custom: #2525a0;
$custom-light: #7561bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2525a0",
  "rgb": {
    "r": 37,
    "g": 37,
    "b": 160
  },
  "hsl": {
    "h": 240,
    "s": 62.437,
    "l": 38.627
  },
  "oklch": {
    "l": 0.36723,
    "c": 0.18949,
    "h": 272.1
  },
  "luminance": 0.04255
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2525A0

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

Preview Lab → · Contrast checker → · Palette generator →

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