#2526C5#2526C5

#2526C5 is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 41.1% C 0.232 H 269.8°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#2526C5
RGBrgb(37, 38, 197)
HSLhsl(240, 68%, 46%)
HSVhsv(240, 81%, 77%)
CMYKcmyk(81.2%, 80.7%, 0%, 22.7%)
CIE-LABlab(28.93, 53.87, -80.19)
CIE-LCHlch(28.93, 96.60, 303.89°)
OKLaboklab(41.07% -0.0008 -0.2322)
OKLCHoklch(41.07% 0.232 269.8)
XYZxyz(11.5307, 5.8094, 53.3261)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2526C5 #C5C425
analogous
#2576C5 #2526C5 #7425C5
triadic
#2526C5 #C52526 #26C525
tetradic
#2526C5 #C52576 #C5C425 #25C574
square
#2526C5 #C52576 #C5C425 #25C574
split-complementary
#2526C5 #C57425 #76C525
monochromatic
#12125E #1B1C91 #2526C5 #4A4BDD #7E7EE7

Accessibility & contrast

On white

9.71
#2526C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#2526C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2526C5
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2526C5#FFFFFF#000000##FFFFFF
##2526C51.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CC9
Deuteranopia (green-blind)
#003CC2
Tritanopia (blue-blind)
#005977
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2526c5;
/* rgb */ color: rgb(37, 38, 197);
/* oklch */ color: oklch(41.1% 0.232 269.8);
Tailwind
colors: {
  custom: {
    50: '#7f64d8',
    500: '#2526c5',
    950: '#000000',
  },
}
SCSS
$custom: #2526c5;
$custom-light: #7f64d8;
$custom-dark: #000000;
JSON
{
  "hex": "#2526c5",
  "rgb": {
    "r": 37,
    "g": 38,
    "b": 197
  },
  "hsl": {
    "h": 239.625,
    "s": 68.376,
    "l": 45.882
  },
  "oklch": {
    "l": 0.41066,
    "c": 0.23219,
    "h": 269.8
  },
  "luminance": 0.05811
}

Semantic roles & 50–950 ramp

primary
#2526C5
secondary
#CFCE77
accent
#EA3DEB
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0615
muted
#7D7A83

Preview Lab

Preview with #2526C5

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

Preview Lab → · Contrast checker → · Palette generator →

#2526C5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva