#28549C#28549C

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

Color values

HEX#28549C
RGBrgb(40, 84, 156)
HSLhsl(217, 59%, 38%)
HSVhsv(217, 74%, 61%)
CMYKcmyk(74.4%, 46.2%, 0%, 38.8%)
CIE-LABlab(36.35, 10.74, -43.66)
CIE-LCHlch(36.35, 44.97, 283.82°)
OKLaboklab(45.46% -0.0226 -0.1251)
OKLCHoklch(45.46% 0.127 259.8)
XYZxyz(10.0440, 9.1910, 32.6907)
Luminance0.0919 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28549C #9C7028
analogous
#288E9C #28549C #36289C
triadic
#28549C #9C2854 #549C28
tetradic
#28549C #9C288E #9C7028 #289C36
square
#28549C #9C288E #9C7028 #289C36
split-complementary
#28549C #9C3628 #8E9C28
monochromatic
#0F203B #1C3A6B #28549C #366FCB #6792D8

Accessibility & contrast

On white

7.40
#28549C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#28549C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28549C
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28549C#FFFFFF#000000##FFFFFF
##28549C1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5B9F
Deuteranopia (green-blind)
#17519B
Tritanopia (blue-blind)
#006570
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #28549c;
/* rgb */ color: rgb(40, 84, 156);
/* oklch */ color: oklch(45.5% 0.127 259.8);
Tailwind
colors: {
  custom: {
    50: '#7283ba',
    500: '#28549c',
    950: '#000000',
  },
}
SCSS
$custom: #28549c;
$custom-light: #7283ba;
$custom-dark: #000000;
JSON
{
  "hex": "#28549c",
  "rgb": {
    "r": 40,
    "g": 84,
    "b": 156
  },
  "hsl": {
    "h": 217.241,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.45464,
    "c": 0.12712,
    "h": 259.8
  },
  "luminance": 0.09192
}

Semantic roles & 50–950 ramp

primary
#28549C
secondary
#BE9B62
accent
#A745E2
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #28549C

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

Preview Lab → · Contrast checker → · Palette generator →

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