#2525B1#2525B1

#2525B1 is a dark, highly saturated blue. Relative luminance 0.049; OKLCH L 38.6% C 0.210 H 270.9°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#2525B1
RGBrgb(37, 37, 177)
HSLhsl(240, 65%, 42%)
HSVhsv(240, 79%, 69%)
CMYKcmyk(79.1%, 79.1%, 0%, 30.6%)
CIE-LABlab(26.42, 48.04, -72.50)
CIE-LCHlch(26.42, 86.97, 303.53°)
OKLaboklab(38.64% 0.0035 -0.2099)
OKLCHoklch(38.64% 0.21 270.9)
XYZxyz(9.3576, 4.8897, 42.0371)
Luminance0.0489 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2525B1 #B1B125
analogous
#256BB1 #2525B1 #6B25B1
triadic
#2525B1 #B12525 #25B125
tetradic
#2525B1 #B1256B #B1B125 #25B16B
square
#2525B1 #B1256B #B1B125 #25B16B
split-complementary
#2525B1 #B16B25 #6BB125
monochromatic
#10104C #1A1A7E #2525B1 #3D3DD6 #6F6FE1

Accessibility & contrast

On white

10.62
#2525B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2525B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2525B1
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2525B1#FFFFFF#000000##FFFFFF
##2525B11.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B5
Deuteranopia (green-blind)
#0037AF
Tritanopia (blue-blind)
#00506B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2525b1;
/* rgb */ color: rgb(37, 37, 177);
/* oklch */ color: oklch(38.6% 0.210 270.9);
Tailwind
colors: {
  custom: {
    50: '#7a62ca',
    500: '#2525b1',
    950: '#000000',
  },
}
SCSS
$custom: #2525b1;
$custom-light: #7a62ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2525b1",
  "rgb": {
    "r": 37,
    "g": 37,
    "b": 177
  },
  "hsl": {
    "h": 240,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.3864,
    "c": 0.20993,
    "h": 270.9
  },
  "luminance": 0.04891
}

Semantic roles & 50–950 ramp

primary
#2525B1
secondary
#C8C86A
accent
#E83FE8
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2525B1

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

Preview Lab → · Contrast checker → · Palette generator →

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