#2528AE#2528AE

#2528AE is a dark, highly saturated blue. Relative luminance 0.050; OKLCH L 38.7% C 0.204 H 270.9°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#2528AE
RGBrgb(37, 40, 174)
HSLhsl(239, 65%, 41%)
HSVhsv(239, 79%, 68%)
CMYKcmyk(78.7%, 77%, 0%, 31.8%)
CIE-LABlab(26.64, 45.45, -70.34)
CIE-LCHlch(26.64, 83.74, 302.87°)
OKLaboklab(38.7% 0.0031 -0.2037)
OKLCHoklch(38.7% 0.204 270.9)
XYZxyz(9.1591, 4.9659, 40.5120)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2528AE #AEAB25
analogous
#256DAE #2528AE #6725AE
triadic
#2528AE #AE2528 #28AE25
tetradic
#2528AE #AE256D #AEAB25 #25AE67
square
#2528AE #AE256D #AEAB25 #25AE67
split-complementary
#2528AE #AE6725 #6DAE25
monochromatic
#101149 #1A1C7C #2528AE #3B3ED5 #6D70E0

Accessibility & contrast

On white

10.53
#2528AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2528AE
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2528AE#FFFFFF#000000##FFFFFF
##2528AE1.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B2
Deuteranopia (green-blind)
#0038AC
Tritanopia (blue-blind)
#00506A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2528ae;
/* rgb */ color: rgb(37, 40, 174);
/* oklch */ color: oklch(38.7% 0.204 270.9);
Tailwind
colors: {
  custom: {
    50: '#7964c8',
    500: '#2528ae',
    950: '#000000',
  },
}
SCSS
$custom: #2528ae;
$custom-light: #7964c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2528ae",
  "rgb": {
    "r": 37,
    "g": 40,
    "b": 174
  },
  "hsl": {
    "h": 238.686,
    "s": 64.929,
    "l": 41.373
  },
  "oklch": {
    "l": 0.38695,
    "c": 0.20369,
    "h": 270.9
  },
  "luminance": 0.04967
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2528AE

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

Preview Lab → · Contrast checker → · Palette generator →

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