#28539D#28539D

#28539D is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.3% C 0.130 H 260.5°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#28539D
RGBrgb(40, 83, 157)
HSLhsl(218, 59%, 39%)
HSVhsv(218, 75%, 62%)
CMYKcmyk(74.5%, 47.1%, 0%, 38.4%)
CIE-LABlab(36.12, 11.79, -44.63)
CIE-LCHlch(36.12, 46.17, 284.80°)
OKLaboklab(45.31% -0.0215 -0.128)
OKLCHoklch(45.31% 0.13 260.5)
XYZxyz(10.0519, 9.0708, 33.1128)
Luminance0.0907 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28539D #9D7228
analogous
#288D9D #28539D #37289D
triadic
#28539D #9D2853 #539D28
tetradic
#28539D #9D288D #9D7228 #289D37
square
#28539D #9D288D #9D7228 #289D37
split-complementary
#28539D #9D3728 #8D9D28
monochromatic
#0F1F3B #1C396C #28539D #366DCC #6791D8

Accessibility & contrast

On white

7.46
#28539D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28539D
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28539D#FFFFFF#000000##FFFFFF
##28539D1.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5BA0
Deuteranopia (green-blind)
#10509C
Tritanopia (blue-blind)
#006470
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #28539d;
/* rgb */ color: rgb(40, 83, 157);
/* oklch */ color: oklch(45.3% 0.130 260.5);
Tailwind
colors: {
  custom: {
    50: '#7282ba',
    500: '#28539d',
    950: '#000000',
  },
}
SCSS
$custom: #28539d;
$custom-light: #7282ba;
$custom-dark: #000000;
JSON
{
  "hex": "#28539d",
  "rgb": {
    "r": 40,
    "g": 83,
    "b": 157
  },
  "hsl": {
    "h": 217.949,
    "s": 59.391,
    "l": 38.627
  },
  "oklch": {
    "l": 0.45308,
    "c": 0.12976,
    "h": 260.5
  },
  "luminance": 0.09072
}

Semantic roles & 50–950 ramp

primary
#28539D
secondary
#BE9D62
accent
#A945E3
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #28539D

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

Preview Lab → · Contrast checker → · Palette generator →

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