#2528AD#2528AD

#2528AD is a dark, highly saturated blue. Relative luminance 0.049; OKLCH L 38.6% C 0.203 H 270.9°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#2528AD
RGBrgb(37, 40, 173)
HSLhsl(239, 65%, 41%)
HSVhsv(239, 79%, 68%)
CMYKcmyk(78.6%, 76.9%, 0%, 32.2%)
CIE-LABlab(26.53, 45.12, -69.92)
CIE-LCHlch(26.53, 83.21, 302.83°)
OKLaboklab(38.58% 0.0033 -0.2025)
OKLCHoklch(38.58% 0.203 270.9)
XYZxyz(9.0620, 4.9270, 40.0005)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2528AD #ADAA25
analogous
#256CAD #2528AD #6625AD
triadic
#2528AD #AD2528 #28AD25
tetradic
#2528AD #AD256C #ADAA25 #25AD66
square
#2528AD #AD256C #ADAA25 #25AD66
split-complementary
#2528AD #AD6625 #6CAD25
monochromatic
#0F1148 #1A1C7B #2528AD #3A3ED5 #6D6FE0

Accessibility & contrast

On white

10.58
#2528AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2528AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2528AD
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2528AD#FFFFFF#000000##FFFFFF
##2528AD1.0010.581.9910.58
#FFFFFF10.581.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B1
Deuteranopia (green-blind)
#0038AB
Tritanopia (blue-blind)
#005069
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2528ad;
/* rgb */ color: rgb(37, 40, 173);
/* oklch */ color: oklch(38.6% 0.203 270.9);
Tailwind
colors: {
  custom: {
    50: '#7864c7',
    500: '#2528ad',
    950: '#000000',
  },
}
SCSS
$custom: #2528ad;
$custom-light: #7864c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2528ad",
  "rgb": {
    "r": 37,
    "g": 40,
    "b": 173
  },
  "hsl": {
    "h": 238.676,
    "s": 64.762,
    "l": 41.176
  },
  "oklch": {
    "l": 0.38583,
    "c": 0.2025,
    "h": 270.9
  },
  "luminance": 0.04928
}

Semantic roles & 50–950 ramp

primary
#2528AD
secondary
#C6C468
accent
#E440E8
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2528AD

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

Preview Lab → · Contrast checker → · Palette generator →

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