#2526BC#2526BC

#2526BC is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 40.0% C 0.222 H 270.3°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#2526BC
RGBrgb(37, 38, 188)
HSLhsl(240, 67%, 44%)
HSVhsv(240, 80%, 74%)
CMYKcmyk(80.3%, 79.8%, 0%, 26.3%)
CIE-LABlab(27.87, 51.05, -76.64)
CIE-LCHlch(27.87, 92.08, 303.67°)
OKLaboklab(40.03% 0.001 -0.2219)
OKLCHoklch(40.03% 0.222 270.3)
XYZxyz(10.5301, 5.4092, 48.0563)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2526BC #BCBB25
analogous
#2572BC #2526BC #7025BC
triadic
#2526BC #BC2526 #26BC25
tetradic
#2526BC #BC2572 #BCBB25 #25BC70
square
#2526BC #BC2572 #BCBB25 #25BC70
split-complementary
#2526BC #BC7025 #72BC25
monochromatic
#111156 #1B1C89 #2526BC #4445DA #7778E4

Accessibility & contrast

On white

10.09
#2526BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#2526BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2526BC
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2526BC#FFFFFF#000000##FFFFFF
##2526BC1.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049C0
Deuteranopia (green-blind)
#003AB9
Tritanopia (blue-blind)
#005571
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2526bc;
/* rgb */ color: rgb(37, 38, 188);
/* oklch */ color: oklch(40.0% 0.222 270.3);
Tailwind
colors: {
  custom: {
    50: '#7c64d2',
    500: '#2526bc',
    950: '#000000',
  },
}
SCSS
$custom: #2526bc;
$custom-light: #7c64d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2526bc",
  "rgb": {
    "r": 37,
    "g": 38,
    "b": 188
  },
  "hsl": {
    "h": 239.603,
    "s": 67.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.40025,
    "c": 0.22191,
    "h": 270.3
  },
  "luminance": 0.0541
}

Semantic roles & 50–950 ramp

primary
#2526BC
secondary
#CCCB71
accent
#E93EEA
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2526BC

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

Preview Lab → · Contrast checker → · Palette generator →

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