#28549F#28549F

#28549F is a mid, vivid blue. Relative luminance 0.093; OKLCH L 45.7% C 0.131 H 260.3°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#28549F
RGBrgb(40, 84, 159)
HSLhsl(218, 60%, 39%)
HSVhsv(218, 75%, 62%)
CMYKcmyk(74.8%, 47.2%, 0%, 37.6%)
CIE-LABlab(36.54, 11.91, -45.15)
CIE-LCHlch(36.54, 46.70, 284.77°)
OKLaboklab(45.68% -0.022 -0.1295)
OKLCHoklch(45.68% 0.131 260.3)
XYZxyz(10.3011, 9.2938, 34.0452)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28549F #9F7328
analogous
#28909F #28549F #38289F
triadic
#28549F #9F2854 #549F28
tetradic
#28549F #9F2890 #9F7328 #289F38
square
#28549F #9F2890 #9F7328 #289F38
split-complementary
#28549F #9F3828 #909F28
monochromatic
#0F203D #1C3A6E #28549F #376FCD #6892D9

Accessibility & contrast

On white

7.35
#28549F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#28549F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28549F
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28549F#FFFFFF#000000##FFFFFF
##28549F1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #28549f;
/* rgb */ color: rgb(40, 84, 159);
/* oklch */ color: oklch(45.7% 0.131 260.3);
Tailwind
colors: {
  custom: {
    50: '#7383bc',
    500: '#28549f',
    950: '#000000',
  },
}
SCSS
$custom: #28549f;
$custom-light: #7383bc;
$custom-dark: #000000;
JSON
{
  "hex": "#28549f",
  "rgb": {
    "r": 40,
    "g": 84,
    "b": 159
  },
  "hsl": {
    "h": 217.815,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.45676,
    "c": 0.13134,
    "h": 260.3
  },
  "luminance": 0.09295
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #28549F

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

Preview Lab → · Contrast checker → · Palette generator →

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