#2528AC#2528AC

#2528AC is a dark, highly saturated blue. Relative luminance 0.049; OKLCH L 38.5% C 0.201 H 271.0°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#2528AC
RGBrgb(37, 40, 172)
HSLhsl(239, 65%, 41%)
HSVhsv(239, 78%, 67%)
CMYKcmyk(78.5%, 76.7%, 0%, 32.5%)
CIE-LABlab(26.41, 44.78, -69.50)
CIE-LCHlch(26.41, 82.68, 302.80°)
OKLaboklab(38.47% 0.0034 -0.2013)
OKLCHoklch(38.47% 0.201 271)
XYZxyz(8.9656, 4.8885, 39.4928)
Luminance0.0489 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2528AC #ACA925
analogous
#256BAC #2528AC #6525AC
triadic
#2528AC #AC2528 #28AC25
tetradic
#2528AC #AC256B #ACA925 #25AC65
square
#2528AC #AC256B #ACA925 #25AC65
split-complementary
#2528AC #AC6525 #6BAC25
monochromatic
#0F1147 #1A1C7A #2528AC #3A3DD5 #6C6FDF

Accessibility & contrast

On white

10.62
#2528AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2528AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2528AC
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2528AC#FFFFFF#000000##FFFFFF
##2528AC1.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B0
Deuteranopia (green-blind)
#0038AA
Tritanopia (blue-blind)
#004F69
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2528ac;
/* rgb */ color: rgb(37, 40, 172);
/* oklch */ color: oklch(38.5% 0.201 271.0);
Tailwind
colors: {
  custom: {
    50: '#7864c6',
    500: '#2528ac',
    950: '#000000',
  },
}
SCSS
$custom: #2528ac;
$custom-light: #7864c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2528ac",
  "rgb": {
    "r": 37,
    "g": 40,
    "b": 172
  },
  "hsl": {
    "h": 238.667,
    "s": 64.593,
    "l": 40.98
  },
  "oklch": {
    "l": 0.38472,
    "c": 0.20129,
    "h": 271
  },
  "luminance": 0.04889
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2528AC

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

Preview Lab → · Contrast checker → · Palette generator →

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