#2528BC#2528BC

#2528BC is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 40.3% C 0.220 H 270.1°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#2528BC
RGBrgb(37, 40, 188)
HSLhsl(239, 67%, 44%)
HSVhsv(239, 80%, 74%)
CMYKcmyk(80.3%, 78.7%, 0%, 26.3%)
CIE-LABlab(28.22, 50.03, -76.05)
CIE-LCHlch(28.22, 91.03, 303.34°)
OKLaboklab(40.27% 0.0005 -0.2202)
OKLCHoklch(40.27% 0.22 270.1)
XYZxyz(10.5958, 5.5405, 48.0782)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2528BC #BCB925
analogous
#2574BC #2528BC #6E25BC
triadic
#2528BC #BC2528 #28BC25
tetradic
#2528BC #BC2574 #BCB925 #25BC6E
square
#2528BC #BC2574 #BCB925 #25BC6E
split-complementary
#2528BC #BC6E25 #74BC25
monochromatic
#111256 #1B1D89 #2528BC #4447DA #7779E4

Accessibility & contrast

On white

9.96
#2528BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2528BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2528BC
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2528BC#FFFFFF#000000##FFFFFF
##2528BC1.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AC0
Deuteranopia (green-blind)
#003BB9
Tritanopia (blue-blind)
#005672
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2528bc;
/* rgb */ color: rgb(37, 40, 188);
/* oklch */ color: oklch(40.3% 0.220 270.1);
Tailwind
colors: {
  custom: {
    50: '#7c65d2',
    500: '#2528bc',
    950: '#000000',
  },
}
SCSS
$custom: #2528bc;
$custom-light: #7c65d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2528bc",
  "rgb": {
    "r": 37,
    "g": 40,
    "b": 188
  },
  "hsl": {
    "h": 238.808,
    "s": 67.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.40272,
    "c": 0.22025,
    "h": 270.1
  },
  "luminance": 0.05542
}

Semantic roles & 50–950 ramp

primary
#2528BC
secondary
#CCCA71
accent
#E73EEA
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2528BC

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

Preview Lab → · Contrast checker → · Palette generator →

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