#28559F#28559F

#28559F is a mid, vivid blue. Relative luminance 0.095; OKLCH L 45.9% C 0.130 H 259.8°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#28559F
RGBrgb(40, 85, 159)
HSLhsl(217, 60%, 39%)
HSVhsv(217, 75%, 62%)
CMYKcmyk(74.8%, 46.5%, 0%, 37.6%)
CIE-LABlab(36.84, 11.24, -44.68)
CIE-LCHlch(36.84, 46.08, 284.13°)
OKLaboklab(45.9% -0.0229 -0.1281)
OKLCHoklch(45.9% 0.13 259.8)
XYZxyz(10.3793, 9.4502, 34.0712)
Luminance0.0945 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28559F #9F7228
analogous
#28919F #28559F #37289F
triadic
#28559F #9F2855 #559F28
tetradic
#28559F #9F2891 #9F7228 #289F37
square
#28559F #9F2891 #9F7228 #289F37
split-complementary
#28559F #9F3728 #919F28
monochromatic
#0F213D #1C3B6E #28559F #3770CD #6893D9

Accessibility & contrast

On white

7.27
#28559F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#28559F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28559F
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28559F#FFFFFF#000000##FFFFFF
##28559F1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5DA2
Deuteranopia (green-blind)
#14529E
Tritanopia (blue-blind)
#006672
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #28559f;
/* rgb */ color: rgb(40, 85, 159);
/* oklch */ color: oklch(45.9% 0.130 259.8);
Tailwind
colors: {
  custom: {
    50: '#7384bc',
    500: '#28559f',
    950: '#000000',
  },
}
SCSS
$custom: #28559f;
$custom-light: #7384bc;
$custom-dark: #000000;
JSON
{
  "hex": "#28559f",
  "rgb": {
    "r": 40,
    "g": 85,
    "b": 159
  },
  "hsl": {
    "h": 217.311,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.45901,
    "c": 0.13012,
    "h": 259.8
  },
  "luminance": 0.09451
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #28559F

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

Preview Lab → · Contrast checker → · Palette generator →

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