#28539C#28539C

#28539C is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.2% C 0.128 H 260.3°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#28539C
RGBrgb(40, 83, 156)
HSLhsl(218, 59%, 38%)
HSVhsv(218, 74%, 61%)
CMYKcmyk(74.4%, 46.8%, 0%, 38.8%)
CIE-LABlab(36.06, 11.41, -44.14)
CIE-LCHlch(36.06, 45.59, 284.49°)
OKLaboklab(45.24% -0.0217 -0.1265)
OKLCHoklch(45.24% 0.128 260.3)
XYZxyz(9.9669, 9.0368, 32.6650)
Luminance0.0904 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28539C #9C7128
analogous
#288D9C #28539C #37289C
triadic
#28539C #9C2853 #539C28
tetradic
#28539C #9C288D #9C7128 #289C37
square
#28539C #9C288D #9C7128 #289C37
split-complementary
#28539C #9C3728 #8D9C28
monochromatic
#0F1F3B #1C396B #28539C #366DCB #6791D8

Accessibility & contrast

On white

7.48
#28539C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#28539C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28539C
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28539C#FFFFFF#000000##FFFFFF
##28539C1.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5B9F
Deuteranopia (green-blind)
#13509B
Tritanopia (blue-blind)
#006470
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #28539c;
/* rgb */ color: rgb(40, 83, 156);
/* oklch */ color: oklch(45.2% 0.128 260.3);
Tailwind
colors: {
  custom: {
    50: '#7282ba',
    500: '#28539c',
    950: '#000000',
  },
}
SCSS
$custom: #28539c;
$custom-light: #7282ba;
$custom-dark: #000000;
JSON
{
  "hex": "#28539c",
  "rgb": {
    "r": 40,
    "g": 83,
    "b": 156
  },
  "hsl": {
    "h": 217.759,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.45237,
    "c": 0.12835,
    "h": 260.3
  },
  "luminance": 0.09038
}

Semantic roles & 50–950 ramp

primary
#28539C
secondary
#BE9C62
accent
#A845E2
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #28539C

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

Preview Lab → · Contrast checker → · Palette generator →

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