#2526C4#2526C4

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

Color values

HEX#2526C4
RGBrgb(37, 38, 196)
HSLhsl(240, 68%, 46%)
HSVhsv(240, 81%, 77%)
CMYKcmyk(81.1%, 80.6%, 0%, 23.1%)
CIE-LABlab(28.81, 53.56, -79.80)
CIE-LCHlch(28.81, 96.11, 303.87°)
OKLaboklab(40.95% -0.0006 -0.2311)
OKLCHoklch(40.95% 0.231 269.8)
XYZxyz(11.4165, 5.7637, 52.7247)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2526C4 #C4C325
analogous
#2575C4 #2526C4 #7425C4
triadic
#2526C4 #C42526 #26C425
tetradic
#2526C4 #C42575 #C4C325 #25C474
square
#2526C4 #C42575 #C4C325 #25C474
split-complementary
#2526C4 #C47425 #75C425
monochromatic
#12125D #1B1C91 #2526C4 #494ADD #7D7EE6

Accessibility & contrast

On white

9.75
#2526C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#2526C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2526C4
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2526C4#FFFFFF#000000##FFFFFF
##2526C41.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CC8
Deuteranopia (green-blind)
#003BC1
Tritanopia (blue-blind)
#005876
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2526c4;
/* rgb */ color: rgb(37, 38, 196);
/* oklch */ color: oklch(40.9% 0.231 269.8);
Tailwind
colors: {
  custom: {
    50: '#7e64d7',
    500: '#2526c4',
    950: '#000000',
  },
}
SCSS
$custom: #2526c4;
$custom-light: #7e64d7;
$custom-dark: #000000;
JSON
{
  "hex": "#2526c4",
  "rgb": {
    "r": 37,
    "g": 38,
    "b": 196
  },
  "hsl": {
    "h": 239.623,
    "s": 68.24,
    "l": 45.686
  },
  "oklch": {
    "l": 0.4095,
    "c": 0.23106,
    "h": 269.8
  },
  "luminance": 0.05765
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2526C4

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

Preview Lab → · Contrast checker → · Palette generator →

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