#2528B3#2528B3

#2528B3 is a dark, highly saturated blue. Relative luminance 0.052; OKLCH L 39.3% C 0.210 H 270.6°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#2528B3
RGBrgb(37, 40, 179)
HSLhsl(239, 66%, 42%)
HSVhsv(239, 79%, 70%)
CMYKcmyk(79.3%, 77.7%, 0%, 29.8%)
CIE-LABlab(27.20, 47.10, -72.40)
CIE-LCHlch(27.20, 86.37, 303.05°)
OKLaboklab(39.25% 0.0022 -0.2097)
OKLCHoklch(39.25% 0.21 270.6)
XYZxyz(9.6557, 5.1645, 43.1270)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2528B3 #B3B025
analogous
#256FB3 #2528B3 #6925B3
triadic
#2528B3 #B32528 #28B325
tetradic
#2528B3 #B3256F #B3B025 #25B369
square
#2528B3 #B3256F #B3B025 #25B369
split-complementary
#2528B3 #B36925 #6FB325
monochromatic
#10114E #1B1D80 #2528B3 #3E41D7 #7173E2

Accessibility & contrast

On white

10.33
#2528B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#2528B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2528B3
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2528B3#FFFFFF#000000##FFFFFF
##2528B31.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B7
Deuteranopia (green-blind)
#0039B1
Tritanopia (blue-blind)
#00526D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2528b3;
/* rgb */ color: rgb(37, 40, 179);
/* oklch */ color: oklch(39.3% 0.210 270.6);
Tailwind
colors: {
  custom: {
    50: '#7a64cb',
    500: '#2528b3',
    950: '#000000',
  },
}
SCSS
$custom: #2528b3;
$custom-light: #7a64cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2528b3",
  "rgb": {
    "r": 37,
    "g": 40,
    "b": 179
  },
  "hsl": {
    "h": 238.732,
    "s": 65.741,
    "l": 42.353
  },
  "oklch": {
    "l": 0.39254,
    "c": 0.20967,
    "h": 270.6
  },
  "luminance": 0.05166
}

Semantic roles & 50–950 ramp

primary
#2528B3
secondary
#C8C66B
accent
#E53FE9
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2528B3

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

Preview Lab → · Contrast checker → · Palette generator →

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