#2526A7#2526A7

#2526A7 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.6% C 0.197 H 271.5°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#2526A7
RGBrgb(37, 38, 167)
HSLhsl(240, 64%, 40%)
HSVhsv(240, 78%, 65%)
CMYKcmyk(77.8%, 77.2%, 0%, 34.5%)
CIE-LABlab(25.47, 44.23, -68.05)
CIE-LCHlch(25.47, 81.16, 303.02°)
OKLaboklab(37.64% 0.0051 -0.197)
OKLCHoklch(37.64% 0.197 271.5)
XYZxyz(8.4288, 4.5686, 36.9893)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2526A7 #A7A625
analogous
#2567A7 #2526A7 #6525A7
triadic
#2526A7 #A72526 #26A725
tetradic
#2526A7 #A72567 #A7A625 #25A765
square
#2526A7 #A72567 #A7A625 #25A765
split-complementary
#2526A7 #A76525 #67A725
monochromatic
#0F0F43 #1A1B75 #2526A7 #3738D3 #696ADE

Accessibility & contrast

On white

10.97
#2526A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2526A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2526A7
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2526A7#FFFFFF#000000##FFFFFF
##2526A71.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043AB
Deuteranopia (green-blind)
#0036A5
Tritanopia (blue-blind)
#004D65
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2526a7;
/* rgb */ color: rgb(37, 38, 167);
/* oklch */ color: oklch(37.6% 0.197 271.5);
Tailwind
colors: {
  custom: {
    50: '#7762c2',
    500: '#2526a7',
    950: '#000000',
  },
}
SCSS
$custom: #2526a7;
$custom-light: #7762c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2526a7",
  "rgb": {
    "r": 37,
    "g": 38,
    "b": 167
  },
  "hsl": {
    "h": 239.538,
    "s": 63.725,
    "l": 40
  },
  "oklch": {
    "l": 0.37641,
    "c": 0.1971,
    "h": 271.5
  },
  "luminance": 0.0457
}

Semantic roles & 50–950 ramp

primary
#2526A7
secondary
#C4C364
accent
#E541E7
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0A0513
muted
#7C7982

Preview Lab

Preview with #2526A7

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

Preview Lab → · Contrast checker → · Palette generator →

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