#2528A2#2528A2

#2528A2 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.4% C 0.189 H 271.6°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#2528A2
RGBrgb(37, 40, 162)
HSLhsl(239, 63%, 39%)
HSVhsv(239, 77%, 64%)
CMYKcmyk(77.2%, 75.3%, 0%, 36.5%)
CIE-LABlab(25.32, 41.41, -65.27)
CIE-LCHlch(25.32, 77.30, 302.39°)
OKLaboklab(37.37% 0.0052 -0.189)
OKLCHoklch(37.37% 0.189 271.6)
XYZxyz(8.0411, 4.5187, 34.6238)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2528A2 #A29F25
analogous
#2567A2 #2528A2 #6125A2
triadic
#2528A2 #A22528 #28A225
tetradic
#2528A2 #A22567 #A29F25 #25A261
square
#2528A2 #A22567 #A29F25 #25A261
split-complementary
#2528A2 #A26125 #67A225
monochromatic
#0E0F3E #1A1C70 #2528A2 #3437D1 #6568DC

Accessibility & contrast

On white

11.03
#2528A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2528A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2528A2
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2528A2#FFFFFF#000000##FFFFFF
##2528A21.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A6
Deuteranopia (green-blind)
#0036A0
Tritanopia (blue-blind)
#004C63
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2528a2;
/* rgb */ color: rgb(37, 40, 162);
/* oklch */ color: oklch(37.4% 0.189 271.6);
Tailwind
colors: {
  custom: {
    50: '#7663bf',
    500: '#2528a2',
    950: '#000000',
  },
}
SCSS
$custom: #2528a2;
$custom-light: #7663bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2528a2",
  "rgb": {
    "r": 37,
    "g": 40,
    "b": 162
  },
  "hsl": {
    "h": 238.56,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.37371,
    "c": 0.18904,
    "h": 271.6
  },
  "luminance": 0.0452
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2528A2

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

Preview Lab → · Contrast checker → · Palette generator →

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