#28529D#28529D

#28529D is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.1% C 0.131 H 261.0°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#28529D
RGBrgb(40, 82, 157)
HSLhsl(218, 59%, 39%)
HSVhsv(218, 75%, 62%)
CMYKcmyk(74.5%, 47.8%, 0%, 38.4%)
CIE-LABlab(35.83, 12.46, -45.10)
CIE-LCHlch(35.83, 46.79, 285.44°)
OKLaboklab(45.08% -0.0206 -0.1294)
OKLCHoklch(45.08% 0.131 261)
XYZxyz(9.9760, 8.9189, 33.0875)
Luminance0.0892 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28529D #9D7328
analogous
#288C9D #28529D #39289D
triadic
#28529D #9D2852 #529D28
tetradic
#28529D #9D288C #9D7328 #289D39
square
#28529D #9D288C #9D7328 #289D39
split-complementary
#28529D #9D3928 #8C9D28
monochromatic
#0F1F3B #1C396C #28529D #366CCC #6790D8

Accessibility & contrast

On white

7.54
#28529D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#28529D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28529D
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28529D#FFFFFF#000000##FFFFFF
##28529D1.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5AA0
Deuteranopia (green-blind)
#0C4F9B
Tritanopia (blue-blind)
#006470
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #28529d;
/* rgb */ color: rgb(40, 82, 157);
/* oklch */ color: oklch(45.1% 0.131 261.0);
Tailwind
colors: {
  custom: {
    50: '#7282ba',
    500: '#28529d',
    950: '#000000',
  },
}
SCSS
$custom: #28529d;
$custom-light: #7282ba;
$custom-dark: #000000;
JSON
{
  "hex": "#28529d",
  "rgb": {
    "r": 40,
    "g": 82,
    "b": 157
  },
  "hsl": {
    "h": 218.462,
    "s": 59.391,
    "l": 38.627
  },
  "oklch": {
    "l": 0.45083,
    "c": 0.131,
    "h": 261
  },
  "luminance": 0.0892
}

Semantic roles & 50–950 ramp

primary
#28529D
secondary
#BE9D62
accent
#AA45E3
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #28529D

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

Preview Lab → · Contrast checker → · Palette generator →

#28529D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva