#2526A4#2526A4

#2526A4 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.3% C 0.193 H 271.7°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#2526A4
RGBrgb(37, 38, 164)
HSLhsl(240, 63%, 39%)
HSVhsv(240, 77%, 64%)
CMYKcmyk(77.4%, 76.8%, 0%, 35.7%)
CIE-LABlab(25.13, 43.22, -66.79)
CIE-LCHlch(25.13, 79.56, 302.91°)
OKLaboklab(37.31% 0.0057 -0.1934)
OKLCHoklch(37.31% 0.193 271.7)
XYZxyz(8.1546, 4.4590, 35.5457)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2526A4 #A4A325
analogous
#2565A4 #2526A4 #6425A4
triadic
#2526A4 #A42526 #26A425
tetradic
#2526A4 #A42565 #A4A325 #25A464
square
#2526A4 #A42565 #A4A325 #25A464
split-complementary
#2526A4 #A46425 #65A425
monochromatic
#0E0F40 #1A1A72 #2526A4 #3536D1 #6768DD

Accessibility & contrast

On white

11.10
#2526A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2526A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2526A4
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2526A4#FFFFFF#000000##FFFFFF
##2526A41.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A8
Deuteranopia (green-blind)
#0035A2
Tritanopia (blue-blind)
#004C64
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2526a4;
/* rgb */ color: rgb(37, 38, 164);
/* oklch */ color: oklch(37.3% 0.193 271.7);
Tailwind
colors: {
  custom: {
    50: '#7662c0',
    500: '#2526a4',
    950: '#000000',
  },
}
SCSS
$custom: #2526a4;
$custom-light: #7662c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2526a4",
  "rgb": {
    "r": 37,
    "g": 38,
    "b": 164
  },
  "hsl": {
    "h": 239.528,
    "s": 63.184,
    "l": 39.412
  },
  "oklch": {
    "l": 0.37306,
    "c": 0.19344,
    "h": 271.7
  },
  "luminance": 0.0446
}

Semantic roles & 50–950 ramp

primary
#2526A4
secondary
#C2C262
accent
#E542E6
background
#F7F5FC
surface
#EEEAF8
border
#C9C6D1
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2526A4

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

Preview Lab → · Contrast checker → · Palette generator →

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