#28559C#28559C

#28559C is a mid, vivid blue. Relative luminance 0.093; OKLCH L 45.7% C 0.126 H 259.3°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#28559C
RGBrgb(40, 85, 156)
HSLhsl(217, 59%, 38%)
HSVhsv(217, 74%, 61%)
CMYKcmyk(74.4%, 45.5%, 0%, 38.8%)
CIE-LABlab(36.64, 10.08, -43.19)
CIE-LCHlch(36.64, 44.35, 283.14°)
OKLaboklab(45.69% -0.0235 -0.1237)
OKLCHoklch(45.69% 0.126 259.3)
XYZxyz(10.1221, 9.3473, 32.7168)
Luminance0.0935 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28559C #9C6F28
analogous
#288F9C #28559C #35289C
triadic
#28559C #9C2855 #559C28
tetradic
#28559C #9C288F #9C6F28 #289C35
square
#28559C #9C288F #9C6F28 #289C35
split-complementary
#28559C #9C3528 #8F9C28
monochromatic
#0F203B #1C3A6B #28559C #3670CB #6792D8

Accessibility & contrast

On white

7.32
#28559C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#28559C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28559C
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28559C#FFFFFF#000000##FFFFFF
##28559C1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315C9F
Deuteranopia (green-blind)
#1A519B
Tritanopia (blue-blind)
#006671
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #28559c;
/* rgb */ color: rgb(40, 85, 156);
/* oklch */ color: oklch(45.7% 0.126 259.3);
Tailwind
colors: {
  custom: {
    50: '#7284ba',
    500: '#28559c',
    950: '#000000',
  },
}
SCSS
$custom: #28559c;
$custom-light: #7284ba;
$custom-dark: #000000;
JSON
{
  "hex": "#28559c",
  "rgb": {
    "r": 40,
    "g": 85,
    "b": 156
  },
  "hsl": {
    "h": 216.724,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.45691,
    "c": 0.1259,
    "h": 259.3
  },
  "luminance": 0.09348
}

Semantic roles & 50–950 ramp

primary
#28559C
secondary
#BE9A62
accent
#A545E2
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #28559C

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

Preview Lab → · Contrast checker → · Palette generator →

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