#28549A#28549A

#28549A is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.3% C 0.124 H 259.4°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#28549A
RGBrgb(40, 84, 154)
HSLhsl(217, 59%, 38%)
HSVhsv(217, 74%, 60%)
CMYKcmyk(74%, 45.5%, 0%, 39.6%)
CIE-LABlab(36.22, 9.97, -42.67)
CIE-LCHlch(36.22, 43.82, 283.15°)
OKLaboklab(45.32% -0.0229 -0.1222)
OKLCHoklch(45.32% 0.124 259.4)
XYZxyz(9.8760, 9.1238, 31.8062)
Luminance0.0912 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28549A #9A6E28
analogous
#288D9A #28549A #35289A
triadic
#28549A #9A2854 #549A28
tetradic
#28549A #9A288D #9A6E28 #289A35
square
#28549A #9A288D #9A6E28 #289A35
split-complementary
#28549A #9A3528 #8D9A28
monochromatic
#0F1F39 #1B3A69 #28549A #356FCA #6591D7

Accessibility & contrast

On white

7.43
#28549A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#28549A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28549A
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28549A#FFFFFF#000000##FFFFFF
##28549A1.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315B9D
Deuteranopia (green-blind)
#1A5099
Tritanopia (blue-blind)
#00646F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #28549a;
/* rgb */ color: rgb(40, 84, 154);
/* oklch */ color: oklch(45.3% 0.124 259.4);
Tailwind
colors: {
  custom: {
    50: '#7183b8',
    500: '#28549a',
    950: '#000000',
  },
}
SCSS
$custom: #28549a;
$custom-light: #7183b8;
$custom-dark: #000000;
JSON
{
  "hex": "#28549a",
  "rgb": {
    "r": 40,
    "g": 84,
    "b": 154
  },
  "hsl": {
    "h": 216.842,
    "s": 58.763,
    "l": 38.039
  },
  "oklch": {
    "l": 0.45324,
    "c": 0.12431,
    "h": 259.4
  },
  "luminance": 0.09125
}

Semantic roles & 50–950 ramp

primary
#28549A
secondary
#BD9961
accent
#A646E2
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #28549A

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

Preview Lab → · Contrast checker → · Palette generator →

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