#2528A9#2528A9

#2528A9 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.1% C 0.198 H 271.2°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#2528A9
RGBrgb(37, 40, 169)
HSLhsl(239, 64%, 40%)
HSVhsv(239, 78%, 66%)
CMYKcmyk(78.1%, 76.3%, 0%, 33.7%)
CIE-LABlab(26.08, 43.78, -68.25)
CIE-LCHlch(26.08, 81.08, 302.68°)
OKLaboklab(38.14% 0.004 -0.1976)
OKLCHoklch(38.14% 0.198 271.2)
XYZxyz(8.6807, 4.7745, 37.9925)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2528A9 #A9A625
analogous
#256AA9 #2528A9 #6425A9
triadic
#2528A9 #A92528 #28A925
tetradic
#2528A9 #A9256A #A9A625 #25A964
square
#2528A9 #A9256A #A9A625 #25A964
split-complementary
#2528A9 #A96425 #6AA925
monochromatic
#0F1045 #1A1C77 #2528A9 #383BD3 #6A6DDE

Accessibility & contrast

On white

10.74
#2528A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2528A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2528A9
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2528A9#FFFFFF#000000##FFFFFF
##2528A91.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AD
Deuteranopia (green-blind)
#0037A7
Tritanopia (blue-blind)
#004E67
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2528a9;
/* rgb */ color: rgb(37, 40, 169);
/* oklch */ color: oklch(38.1% 0.198 271.2);
Tailwind
colors: {
  custom: {
    50: '#7764c4',
    500: '#2528a9',
    950: '#000000',
  },
}
SCSS
$custom: #2528a9;
$custom-light: #7764c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2528a9",
  "rgb": {
    "r": 37,
    "g": 40,
    "b": 169
  },
  "hsl": {
    "h": 238.636,
    "s": 64.078,
    "l": 40.392
  },
  "oklch": {
    "l": 0.3814,
    "c": 0.19765,
    "h": 271.2
  },
  "luminance": 0.04775
}

Semantic roles & 50–950 ramp

primary
#2528A9
secondary
#C4C265
accent
#E341E7
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0513
muted
#7C7A82

Preview Lab

Preview with #2528A9

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

Preview Lab → · Contrast checker → · Palette generator →

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