#2528A4#2528A4

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

Color values

HEX#2528A4
RGBrgb(37, 40, 164)
HSLhsl(239, 63%, 39%)
HSVhsv(239, 77%, 64%)
CMYKcmyk(77.4%, 75.6%, 0%, 35.7%)
CIE-LABlab(25.53, 42.09, -66.13)
CIE-LCHlch(25.53, 78.39, 302.48°)
OKLaboklab(37.59% 0.0049 -0.1915)
OKLCHoklch(37.59% 0.192 271.5)
XYZxyz(8.2203, 4.5903, 35.5676)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2528A4 #A4A125
analogous
#2567A4 #2528A4 #6225A4
triadic
#2528A4 #A42528 #28A425
tetradic
#2528A4 #A42567 #A4A125 #25A462
square
#2528A4 #A42567 #A4A125 #25A462
split-complementary
#2528A4 #A46225 #67A425
monochromatic
#0E1040 #1A1C72 #2528A4 #3539D1 #676ADD

Accessibility & contrast

On white

10.95
#2528A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2528A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2528A4
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2528A4#FFFFFF#000000##FFFFFF
##2528A41.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2528a4;
/* rgb */ color: rgb(37, 40, 164);
/* oklch */ color: oklch(37.6% 0.192 271.5);
Tailwind
colors: {
  custom: {
    50: '#7664c0',
    500: '#2528a4',
    950: '#000000',
  },
}
SCSS
$custom: #2528a4;
$custom-light: #7664c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2528a4",
  "rgb": {
    "r": 37,
    "g": 40,
    "b": 164
  },
  "hsl": {
    "h": 238.583,
    "s": 63.184,
    "l": 39.412
  },
  "oklch": {
    "l": 0.3759,
    "c": 0.19152,
    "h": 271.5
  },
  "luminance": 0.04591
}

Semantic roles & 50–950 ramp

primary
#2528A4
secondary
#C2C062
accent
#E242E6
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #2528A4

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

Preview Lab → · Contrast checker → · Palette generator →

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