#2526AD#2526AD

#2526AD is a dark, highly saturated blue. Relative luminance 0.048; OKLCH L 38.3% C 0.204 H 271.1°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#2526AD
RGBrgb(37, 38, 173)
HSLhsl(240, 65%, 41%)
HSVhsv(240, 79%, 68%)
CMYKcmyk(78.6%, 78%, 0%, 32.2%)
CIE-LABlab(26.14, 46.21, -70.55)
CIE-LCHlch(26.14, 84.34, 303.22°)
OKLaboklab(38.32% 0.0039 -0.2043)
OKLCHoklch(38.32% 0.204 271.1)
XYZxyz(8.9963, 4.7957, 39.9786)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2526AD #ADAC25
analogous
#256AAD #2526AD #6825AD
triadic
#2526AD #AD2526 #26AD25
tetradic
#2526AD #AD256A #ADAC25 #25AD68
square
#2526AD #AD256A #ADAC25 #25AD68
split-complementary
#2526AD #AD6825 #6AAD25
monochromatic
#0F1048 #1A1B7B #2526AD #3A3BD5 #6D6EE0

Accessibility & contrast

On white

10.72
#2526AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2526AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2526AD
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2526AD#FFFFFF#000000##FFFFFF
##2526AD1.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B1
Deuteranopia (green-blind)
#0037AB
Tritanopia (blue-blind)
#004F69
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2526ad;
/* rgb */ color: rgb(37, 38, 173);
/* oklch */ color: oklch(38.3% 0.204 271.1);
Tailwind
colors: {
  custom: {
    50: '#7863c7',
    500: '#2526ad',
    950: '#000000',
  },
}
SCSS
$custom: #2526ad;
$custom-light: #7863c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2526ad",
  "rgb": {
    "r": 37,
    "g": 38,
    "b": 173
  },
  "hsl": {
    "h": 239.559,
    "s": 64.762,
    "l": 41.176
  },
  "oklch": {
    "l": 0.38315,
    "c": 0.20431,
    "h": 271.1
  },
  "luminance": 0.04797
}

Semantic roles & 50–950 ramp

primary
#2526AD
secondary
#C6C568
accent
#E740E8
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2526AD

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

Preview Lab → · Contrast checker → · Palette generator →

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