#2528C5#2528C5

#2528C5 is a dark, highly saturated blue. Relative luminance 0.059; OKLCH L 41.3% C 0.231 H 269.7°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#2528C5
RGBrgb(37, 40, 197)
HSLhsl(239, 68%, 46%)
HSVhsv(239, 81%, 77%)
CMYKcmyk(81.2%, 79.7%, 0%, 22.7%)
CIE-LABlab(29.26, 52.89, -79.63)
CIE-LCHlch(29.26, 95.60, 303.59°)
OKLaboklab(41.3% -0.0012 -0.2306)
OKLCHoklch(41.3% 0.231 269.7)
XYZxyz(11.5963, 5.9408, 53.3480)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2528C5 #C5C225
analogous
#2578C5 #2528C5 #7225C5
triadic
#2528C5 #C52528 #28C525
tetradic
#2528C5 #C52578 #C5C225 #25C572
square
#2528C5 #C52578 #C5C225 #25C572
split-complementary
#2528C5 #C57225 #78C525
monochromatic
#12135E #1B1E91 #2528C5 #4A4DDD #7E80E7

Accessibility & contrast

On white

9.60
#2528C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#2528C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2528C5
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2528C5#FFFFFF#000000##FFFFFF
##2528C51.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DC9
Deuteranopia (green-blind)
#003DC2
Tritanopia (blue-blind)
#005977
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2528c5;
/* rgb */ color: rgb(37, 40, 197);
/* oklch */ color: oklch(41.3% 0.231 269.7);
Tailwind
colors: {
  custom: {
    50: '#7e65d8',
    500: '#2528c5',
    950: '#000000',
  },
}
SCSS
$custom: #2528c5;
$custom-light: #7e65d8;
$custom-dark: #000000;
JSON
{
  "hex": "#2528c5",
  "rgb": {
    "r": 37,
    "g": 40,
    "b": 197
  },
  "hsl": {
    "h": 238.875,
    "s": 68.376,
    "l": 45.882
  },
  "oklch": {
    "l": 0.41301,
    "c": 0.23061,
    "h": 269.7
  },
  "luminance": 0.05942
}

Semantic roles & 50–950 ramp

primary
#2528C5
secondary
#CFCD77
accent
#E83DEB
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0615
muted
#7D7A83

Preview Lab

Preview with #2528C5

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

Preview Lab → · Contrast checker → · Palette generator →

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