#2528A7#2528A7

#2528A7 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.9% C 0.195 H 271.3°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#2528A7
RGBrgb(37, 40, 167)
HSLhsl(239, 64%, 40%)
HSVhsv(239, 78%, 65%)
CMYKcmyk(77.8%, 76%, 0%, 34.5%)
CIE-LABlab(25.86, 43.11, -67.40)
CIE-LCHlch(25.86, 80.01, 302.60°)
OKLaboklab(37.92% 0.0043 -0.1952)
OKLCHoklch(37.92% 0.195 271.3)
XYZxyz(8.4944, 4.7000, 37.0112)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2528A7 #A7A425
analogous
#2569A7 #2528A7 #6325A7
triadic
#2528A7 #A72528 #28A725
tetradic
#2528A7 #A72569 #A7A425 #25A763
square
#2528A7 #A72569 #A7A425 #25A763
split-complementary
#2528A7 #A76325 #69A725
monochromatic
#0F1043 #1A1C75 #2528A7 #373AD3 #696BDE

Accessibility & contrast

On white

10.82
#2528A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#2528A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2528A7
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2528A7#FFFFFF#000000##FFFFFF
##2528A71.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AB
Deuteranopia (green-blind)
#0037A5
Tritanopia (blue-blind)
#004E66
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2528a7;
/* rgb */ color: rgb(37, 40, 167);
/* oklch */ color: oklch(37.9% 0.195 271.3);
Tailwind
colors: {
  custom: {
    50: '#7764c2',
    500: '#2528a7',
    950: '#000000',
  },
}
SCSS
$custom: #2528a7;
$custom-light: #7764c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2528a7",
  "rgb": {
    "r": 37,
    "g": 40,
    "b": 167
  },
  "hsl": {
    "h": 238.615,
    "s": 63.725,
    "l": 40
  },
  "oklch": {
    "l": 0.37919,
    "c": 0.19521,
    "h": 271.3
  },
  "luminance": 0.04701
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2528A7

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

Preview Lab → · Contrast checker → · Palette generator →

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