#2525B0#2525B0

#2525B0 is a dark, highly saturated blue. Relative luminance 0.049; OKLCH L 38.5% C 0.209 H 271.0°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#2525B0
RGBrgb(37, 37, 176)
HSLhsl(240, 65%, 42%)
HSVhsv(240, 79%, 69%)
CMYKcmyk(79%, 79%, 0%, 31%)
CIE-LABlab(26.30, 47.72, -72.09)
CIE-LCHlch(26.30, 86.45, 303.50°)
OKLaboklab(38.53% 0.0037 -0.2087)
OKLCHoklch(38.53% 0.209 271)
XYZxyz(9.2583, 4.8500, 41.5141)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2525B0 #B0B025
analogous
#256BB0 #2525B0 #6B25B0
triadic
#2525B0 #B02525 #25B025
tetradic
#2525B0 #B0256B #B0B025 #25B06B
square
#2525B0 #B0256B #B0B025 #25B06B
split-complementary
#2525B0 #B06B25 #6BB025
monochromatic
#10104B #1A1A7D #2525B0 #3C3CD6 #6F6FE1

Accessibility & contrast

On white

10.66
#2525B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2525B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2525B0
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2525B0#FFFFFF#000000##FFFFFF
##2525B01.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B4
Deuteranopia (green-blind)
#0037AE
Tritanopia (blue-blind)
#00506A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2525b0;
/* rgb */ color: rgb(37, 37, 176);
/* oklch */ color: oklch(38.5% 0.209 271.0);
Tailwind
colors: {
  custom: {
    50: '#7962c9',
    500: '#2525b0',
    950: '#000000',
  },
}
SCSS
$custom: #2525b0;
$custom-light: #7962c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2525b0",
  "rgb": {
    "r": 37,
    "g": 37,
    "b": 176
  },
  "hsl": {
    "h": 240,
    "s": 65.258,
    "l": 41.765
  },
  "oklch": {
    "l": 0.38526,
    "c": 0.20875,
    "h": 271
  },
  "luminance": 0.04851
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2525B0

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

Preview Lab → · Contrast checker → · Palette generator →

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