#2528B1#2528B1

#2528B1 is a dark, highly saturated blue. Relative luminance 0.051; OKLCH L 39.0% C 0.207 H 270.7°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#2528B1
RGBrgb(37, 40, 177)
HSLhsl(239, 65%, 42%)
HSVhsv(239, 79%, 69%)
CMYKcmyk(79.1%, 77.4%, 0%, 30.6%)
CIE-LABlab(26.97, 46.44, -71.58)
CIE-LCHlch(26.97, 85.32, 302.98°)
OKLaboklab(39.03% 0.0025 -0.2073)
OKLCHoklch(39.03% 0.207 270.7)
XYZxyz(9.4549, 5.0842, 42.0695)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2528B1 #B1AE25
analogous
#256EB1 #2528B1 #6825B1
triadic
#2528B1 #B12528 #28B125
tetradic
#2528B1 #B1256E #B1AE25 #25B168
square
#2528B1 #B1256E #B1AE25 #25B168
split-complementary
#2528B1 #B16825 #6EB125
monochromatic
#10114C #1A1D7E #2528B1 #3D40D6 #6F72E1

Accessibility & contrast

On white

10.41
#2528B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#2528B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2528B1
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2528B1#FFFFFF#000000##FFFFFF
##2528B11.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B5
Deuteranopia (green-blind)
#0039AF
Tritanopia (blue-blind)
#00516B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2528b1;
/* rgb */ color: rgb(37, 40, 177);
/* oklch */ color: oklch(39.0% 0.207 270.7);
Tailwind
colors: {
  custom: {
    50: '#7964ca',
    500: '#2528b1',
    950: '#000000',
  },
}
SCSS
$custom: #2528b1;
$custom-light: #7964ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2528b1",
  "rgb": {
    "r": 37,
    "g": 40,
    "b": 177
  },
  "hsl": {
    "h": 238.714,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.3903,
    "c": 0.20729,
    "h": 270.7
  },
  "luminance": 0.05085
}

Semantic roles & 50–950 ramp

primary
#2528B1
secondary
#C8C66A
accent
#E53FE8
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2528B1

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

Preview Lab → · Contrast checker → · Palette generator →

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