#2528A1#2528A1

#2528A1 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.3% C 0.188 H 271.6°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#2528A1
RGBrgb(37, 40, 161)
HSLhsl(239, 63%, 39%)
HSVhsv(239, 77%, 63%)
CMYKcmyk(77%, 75.2%, 0%, 36.9%)
CIE-LABlab(25.21, 41.07, -64.85)
CIE-LCHlch(25.21, 76.76, 302.35°)
OKLaboklab(37.26% 0.0054 -0.1877)
OKLCHoklch(37.26% 0.188 271.6)
XYZxyz(7.9526, 4.4832, 34.1575)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2528A1 #A19E25
analogous
#2566A1 #2528A1 #6025A1
triadic
#2528A1 #A12528 #28A125
tetradic
#2528A1 #A12566 #A19E25 #25A160
square
#2528A1 #A12566 #A19E25 #25A160
split-complementary
#2528A1 #A16025 #66A125
monochromatic
#0E0F3D #1A1C6F #2528A1 #3337D0 #6568DC

Accessibility & contrast

On white

11.07
#2528A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2528A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2528A1
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2528A1#FFFFFF#000000##FFFFFF
##2528A11.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A5
Deuteranopia (green-blind)
#00369F
Tritanopia (blue-blind)
#004B62
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2528a1;
/* rgb */ color: rgb(37, 40, 161);
/* oklch */ color: oklch(37.3% 0.188 271.6);
Tailwind
colors: {
  custom: {
    50: '#7563be',
    500: '#2528a1',
    950: '#000000',
  },
}
SCSS
$custom: #2528a1;
$custom-light: #7563be;
$custom-dark: #000000;
JSON
{
  "hex": "#2528a1",
  "rgb": {
    "r": 37,
    "g": 40,
    "b": 161
  },
  "hsl": {
    "h": 238.548,
    "s": 62.626,
    "l": 38.824
  },
  "oklch": {
    "l": 0.37262,
    "c": 0.18781,
    "h": 271.6
  },
  "luminance": 0.04484
}

Semantic roles & 50–950 ramp

primary
#2528A1
secondary
#C1BF61
accent
#E242E6
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #2528A1

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

Preview Lab → · Contrast checker → · Palette generator →

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