#2528C4#2528C4

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

Color values

HEX#2528C4
RGBrgb(37, 40, 196)
HSLhsl(239, 68%, 46%)
HSVhsv(239, 81%, 77%)
CMYKcmyk(81.1%, 79.6%, 0%, 23.1%)
CIE-LABlab(29.15, 52.58, -79.24)
CIE-LCHlch(29.15, 95.09, 303.57°)
OKLaboklab(41.19% -0.0011 -0.2295)
OKLCHoklch(41.19% 0.229 269.7)
XYZxyz(11.4822, 5.8951, 52.7466)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2528C4 #C4C125
analogous
#2577C4 #2528C4 #7125C4
triadic
#2528C4 #C42528 #28C425
tetradic
#2528C4 #C42577 #C4C125 #25C471
square
#2528C4 #C42577 #C4C125 #25C471
split-complementary
#2528C4 #C47125 #77C425
monochromatic
#12135D #1B1D91 #2528C4 #494CDD #7D7FE6

Accessibility & contrast

On white

9.64
#2528C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#2528C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2528C4
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2528C4#FFFFFF#000000##FFFFFF
##2528C41.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DC8
Deuteranopia (green-blind)
#003CC1
Tritanopia (blue-blind)
#005976
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2528c4;
/* rgb */ color: rgb(37, 40, 196);
/* oklch */ color: oklch(41.2% 0.229 269.7);
Tailwind
colors: {
  custom: {
    50: '#7e65d7',
    500: '#2528c4',
    950: '#000000',
  },
}
SCSS
$custom: #2528c4;
$custom-light: #7e65d7;
$custom-dark: #000000;
JSON
{
  "hex": "#2528c4",
  "rgb": {
    "r": 37,
    "g": 40,
    "b": 196
  },
  "hsl": {
    "h": 238.868,
    "s": 68.24,
    "l": 45.686
  },
  "oklch": {
    "l": 0.41186,
    "c": 0.22947,
    "h": 269.7
  },
  "luminance": 0.05896
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2528C4

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

Preview Lab → · Contrast checker → · Palette generator →

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