#28549E#28549E

#28549E is a mid, vivid blue. Relative luminance 0.093; OKLCH L 45.6% C 0.130 H 260.2°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#28549E
RGBrgb(40, 84, 158)
HSLhsl(218, 60%, 39%)
HSVhsv(218, 75%, 62%)
CMYKcmyk(74.7%, 46.8%, 0%, 38%)
CIE-LABlab(36.48, 11.52, -44.66)
CIE-LCHlch(36.48, 46.12, 284.46°)
OKLaboklab(45.61% -0.0222 -0.128)
OKLCHoklch(45.61% 0.13 260.2)
XYZxyz(10.2147, 9.2593, 33.5900)
Luminance0.0926 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28549E #9E7228
analogous
#288F9E #28549E #37289E
triadic
#28549E #9E2854 #549E28
tetradic
#28549E #9E288F #9E7228 #289E37
square
#28549E #9E288F #9E7228 #289E37
split-complementary
#28549E #9E3728 #8F9E28
monochromatic
#0F203C #1C3A6D #28549E #376FCC #6892D9

Accessibility & contrast

On white

7.36
#28549E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28549E
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28549E#FFFFFF#000000##FFFFFF
##28549E1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5CA1
Deuteranopia (green-blind)
#12519D
Tritanopia (blue-blind)
#006571
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #28549e;
/* rgb */ color: rgb(40, 84, 158);
/* oklch */ color: oklch(45.6% 0.130 260.2);
Tailwind
colors: {
  custom: {
    50: '#7283bb',
    500: '#28549e',
    950: '#000000',
  },
}
SCSS
$custom: #28549e;
$custom-light: #7283bb;
$custom-dark: #000000;
JSON
{
  "hex": "#28549e",
  "rgb": {
    "r": 40,
    "g": 84,
    "b": 158
  },
  "hsl": {
    "h": 217.627,
    "s": 59.596,
    "l": 38.824
  },
  "oklch": {
    "l": 0.45605,
    "c": 0.12994,
    "h": 260.2
  },
  "luminance": 0.0926
}

Semantic roles & 50–950 ramp

primary
#28549E
secondary
#BF9D63
accent
#A845E3
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #28549E

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

Preview Lab → · Contrast checker → · Palette generator →

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