#28549D#28549D

#28549D is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.5% C 0.129 H 260.0°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#28549D
RGBrgb(40, 84, 157)
HSLhsl(217, 59%, 39%)
HSVhsv(217, 75%, 62%)
CMYKcmyk(74.5%, 46.5%, 0%, 38.4%)
CIE-LABlab(36.41, 11.13, -44.16)
CIE-LCHlch(36.41, 45.54, 284.15°)
OKLaboklab(45.53% -0.0224 -0.1266)
OKLCHoklch(45.53% 0.129 260)
XYZxyz(10.1290, 9.2250, 33.1385)
Luminance0.0923 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28549D #9D7128
analogous
#288E9D #28549D #36289D
triadic
#28549D #9D2854 #549D28
tetradic
#28549D #9D288E #9D7128 #289D36
square
#28549D #9D288E #9D7128 #289D36
split-complementary
#28549D #9D3628 #8E9D28
monochromatic
#0F203B #1C3A6C #28549D #366FCC #6792D8

Accessibility & contrast

On white

7.38
#28549D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#28549D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28549D
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28549D#FFFFFF#000000##FFFFFF
##28549D1.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5BA0
Deuteranopia (green-blind)
#14519C
Tritanopia (blue-blind)
#006571
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #28549d;
/* rgb */ color: rgb(40, 84, 157);
/* oklch */ color: oklch(45.5% 0.129 260.0);
Tailwind
colors: {
  custom: {
    50: '#7283ba',
    500: '#28549d',
    950: '#000000',
  },
}
SCSS
$custom: #28549d;
$custom-light: #7283ba;
$custom-dark: #000000;
JSON
{
  "hex": "#28549d",
  "rgb": {
    "r": 40,
    "g": 84,
    "b": 157
  },
  "hsl": {
    "h": 217.436,
    "s": 59.391,
    "l": 38.627
  },
  "oklch": {
    "l": 0.45534,
    "c": 0.12853,
    "h": 260
  },
  "luminance": 0.09226
}

Semantic roles & 50–950 ramp

primary
#28549D
secondary
#BE9C62
accent
#A745E3
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #28549D

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

Preview Lab → · Contrast checker → · Palette generator →

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