#2528AF#2528AF

#2528AF is a dark, highly saturated blue. Relative luminance 0.050; OKLCH L 38.8% C 0.205 H 270.8°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#2528AF
RGBrgb(37, 40, 175)
HSLhsl(239, 65%, 42%)
HSVhsv(239, 79%, 69%)
CMYKcmyk(78.9%, 77.1%, 0%, 31.4%)
CIE-LABlab(26.75, 45.78, -70.75)
CIE-LCHlch(26.75, 84.27, 302.91°)
OKLaboklab(38.81% 0.0029 -0.2049)
OKLCHoklch(38.81% 0.205 270.8)
XYZxyz(9.2570, 5.0050, 41.0273)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2528AF #AFAC25
analogous
#256DAF #2528AF #6725AF
triadic
#2528AF #AF2528 #28AF25
tetradic
#2528AF #AF256D #AFAC25 #25AF67
square
#2528AF #AF256D #AFAC25 #25AF67
split-complementary
#2528AF #AF6725 #6DAF25
monochromatic
#10114A #1A1C7C #2528AF #3C3FD6 #6E71E0

Accessibility & contrast

On white

10.49
#2528AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2528AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2528AF
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2528AF#FFFFFF#000000##FFFFFF
##2528AF1.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B3
Deuteranopia (green-blind)
#0038AD
Tritanopia (blue-blind)
#00516A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2528af;
/* rgb */ color: rgb(37, 40, 175);
/* oklch */ color: oklch(38.8% 0.205 270.8);
Tailwind
colors: {
  custom: {
    50: '#7964c8',
    500: '#2528af',
    950: '#000000',
  },
}
SCSS
$custom: #2528af;
$custom-light: #7964c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2528af",
  "rgb": {
    "r": 37,
    "g": 40,
    "b": 175
  },
  "hsl": {
    "h": 238.696,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.38806,
    "c": 0.2049,
    "h": 270.8
  },
  "luminance": 0.05006
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2528AF

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

Preview Lab → · Contrast checker → · Palette generator →

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