#2528A8#2528A8

#2528A8 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 38.0% C 0.196 H 271.2°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#2528A8
RGBrgb(37, 40, 168)
HSLhsl(239, 64%, 40%)
HSVhsv(239, 78%, 66%)
CMYKcmyk(78%, 76.2%, 0%, 34.1%)
CIE-LABlab(25.97, 43.44, -67.83)
CIE-LCHlch(25.97, 80.55, 302.64°)
OKLaboklab(38.03% 0.0042 -0.1964)
OKLCHoklch(38.03% 0.196 271.2)
XYZxyz(8.5872, 4.7371, 37.5000)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2528A8 #A8A525
analogous
#2569A8 #2528A8 #6325A8
triadic
#2528A8 #A82528 #28A825
tetradic
#2528A8 #A82569 #A8A525 #25A863
square
#2528A8 #A82569 #A8A525 #25A863
split-complementary
#2528A8 #A86325 #69A825
monochromatic
#0F1044 #1A1C76 #2528A8 #373BD3 #696CDE

Accessibility & contrast

On white

10.78
#2528A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#2528A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2528A8
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2528A8#FFFFFF#000000##FFFFFF
##2528A81.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AC
Deuteranopia (green-blind)
#0037A6
Tritanopia (blue-blind)
#004E66
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2528a8;
/* rgb */ color: rgb(37, 40, 168);
/* oklch */ color: oklch(38.0% 0.196 271.2);
Tailwind
colors: {
  custom: {
    50: '#7764c3',
    500: '#2528a8',
    950: '#000000',
  },
}
SCSS
$custom: #2528a8;
$custom-light: #7764c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2528a8",
  "rgb": {
    "r": 37,
    "g": 40,
    "b": 168
  },
  "hsl": {
    "h": 238.626,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.38029,
    "c": 0.19642,
    "h": 271.2
  },
  "luminance": 0.04738
}

Semantic roles & 50–950 ramp

primary
#2528A8
secondary
#C4C265
accent
#E341E7
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0513
muted
#7C7A82

Preview Lab

Preview with #2528A8

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

Preview Lab → · Contrast checker → · Palette generator →

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