#2528BD#2528BD

#2528BD is a dark, highly saturated blue. Relative luminance 0.056; OKLCH L 40.4% C 0.221 H 270.1°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#2528BD
RGBrgb(37, 40, 189)
HSLhsl(239, 67%, 44%)
HSVhsv(239, 80%, 74%)
CMYKcmyk(80.4%, 78.8%, 0%, 25.9%)
CIE-LABlab(28.34, 50.35, -76.45)
CIE-LCHlch(28.34, 91.54, 303.37°)
OKLaboklab(40.39% 0.0003 -0.2214)
OKLCHoklch(40.39% 0.221 270.1)
XYZxyz(10.7039, 5.5838, 48.6479)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2528BD #BDBA25
analogous
#2574BD #2528BD #6E25BD
triadic
#2528BD #BD2528 #28BD25
tetradic
#2528BD #BD2574 #BDBA25 #25BD6E
square
#2528BD #BD2574 #BDBA25 #25BD6E
split-complementary
#2528BD #BD6E25 #74BD25
monochromatic
#111257 #1B1D8A #2528BD #4548DB #787AE5

Accessibility & contrast

On white

9.92
#2528BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2528BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2528BD
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2528BD#FFFFFF#000000##FFFFFF
##2528BD1.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2528bd;
/* rgb */ color: rgb(37, 40, 189);
/* oklch */ color: oklch(40.4% 0.221 270.1);
Tailwind
colors: {
  custom: {
    50: '#7c65d2',
    500: '#2528bd',
    950: '#000000',
  },
}
SCSS
$custom: #2528bd;
$custom-light: #7c65d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2528bd",
  "rgb": {
    "r": 37,
    "g": 40,
    "b": 189
  },
  "hsl": {
    "h": 238.816,
    "s": 67.257,
    "l": 44.314
  },
  "oklch": {
    "l": 0.40386,
    "c": 0.22141,
    "h": 270.1
  },
  "luminance": 0.05585
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2528BD

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

Preview Lab → · Contrast checker → · Palette generator →

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