#2528A0#2528A0

#2528A0 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.2% C 0.187 H 271.7°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#2528A0
RGBrgb(37, 40, 160)
HSLhsl(239, 62%, 39%)
HSVhsv(239, 77%, 63%)
CMYKcmyk(76.9%, 75%, 0%, 37.3%)
CIE-LABlab(25.10, 40.72, -64.42)
CIE-LCHlch(25.10, 76.21, 302.30°)
OKLaboklab(37.15% 0.0056 -0.1865)
OKLCHoklch(37.15% 0.187 271.7)
XYZxyz(7.8648, 4.4481, 33.6950)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2528A0 #A09D25
analogous
#2565A0 #2528A0 #5F25A0
triadic
#2528A0 #A02528 #28A025
tetradic
#2528A0 #A02565 #A09D25 #25A05F
square
#2528A0 #A02565 #A09D25 #25A05F
split-complementary
#2528A0 #A05F25 #65A025
monochromatic
#0E0F3D #1A1C6E #2528A0 #3236D0 #6467DB

Accessibility & contrast

On white

11.11
#2528A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2528A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2528A0
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2528A0#FFFFFF#000000##FFFFFF
##2528A01.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A3
Deuteranopia (green-blind)
#00359E
Tritanopia (blue-blind)
#004B62
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2528a0;
/* rgb */ color: rgb(37, 40, 160);
/* oklch */ color: oklch(37.2% 0.187 271.7);
Tailwind
colors: {
  custom: {
    50: '#7563bd',
    500: '#2528a0',
    950: '#000000',
  },
}
SCSS
$custom: #2528a0;
$custom-light: #7563bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2528a0",
  "rgb": {
    "r": 37,
    "g": 40,
    "b": 160
  },
  "hsl": {
    "h": 238.537,
    "s": 62.437,
    "l": 38.627
  },
  "oklch": {
    "l": 0.37153,
    "c": 0.18655,
    "h": 271.7
  },
  "luminance": 0.04449
}

Semantic roles & 50–950 ramp

primary
#2528A0
secondary
#C1BE60
accent
#E242E6
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #2528A0

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

Preview Lab → · Contrast checker → · Palette generator →

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