#28559E#28559E

#28559E is a mid, vivid blue. Relative luminance 0.094; OKLCH L 45.8% C 0.129 H 259.7°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#28559E
RGBrgb(40, 85, 158)
HSLhsl(217, 60%, 39%)
HSVhsv(217, 75%, 62%)
CMYKcmyk(74.7%, 46.2%, 0%, 38%)
CIE-LABlab(36.77, 10.86, -44.19)
CIE-LCHlch(36.77, 45.50, 283.81°)
OKLaboklab(45.83% -0.0231 -0.1266)
OKLCHoklch(45.83% 0.129 259.7)
XYZxyz(10.2929, 9.4156, 33.6161)
Luminance0.0942 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28559E #9E7128
analogous
#28909E #28559E #36289E
triadic
#28559E #9E2855 #559E28
tetradic
#28559E #9E2890 #9E7128 #289E36
square
#28559E #9E2890 #9E7128 #289E36
split-complementary
#28559E #9E3628 #909E28
monochromatic
#0F203C #1C3B6D #28559E #3770CC #6893D9

Accessibility & contrast

On white

7.28
#28559E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#28559E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28559E
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28559E#FFFFFF#000000##FFFFFF
##28559E1.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5CA1
Deuteranopia (green-blind)
#16519D
Tritanopia (blue-blind)
#006672
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #28559e;
/* rgb */ color: rgb(40, 85, 158);
/* oklch */ color: oklch(45.8% 0.129 259.7);
Tailwind
colors: {
  custom: {
    50: '#7284bb',
    500: '#28559e',
    950: '#000000',
  },
}
SCSS
$custom: #28559e;
$custom-light: #7284bb;
$custom-dark: #000000;
JSON
{
  "hex": "#28559e",
  "rgb": {
    "r": 40,
    "g": 85,
    "b": 158
  },
  "hsl": {
    "h": 217.119,
    "s": 59.596,
    "l": 38.824
  },
  "oklch": {
    "l": 0.45831,
    "c": 0.12871,
    "h": 259.7
  },
  "luminance": 0.09417
}

Semantic roles & 50–950 ramp

primary
#28559E
secondary
#BF9C63
accent
#A745E3
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #28559E

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

Preview Lab → · Contrast checker → · Palette generator →

#28559E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva