#28539F#28539F

#28539F is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.5% C 0.133 H 260.8°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#28539F
RGBrgb(40, 83, 159)
HSLhsl(218, 60%, 39%)
HSVhsv(218, 75%, 62%)
CMYKcmyk(74.8%, 47.8%, 0%, 37.6%)
CIE-LABlab(36.25, 12.57, -45.62)
CIE-LCHlch(36.25, 47.32, 285.40°)
OKLaboklab(45.45% -0.0211 -0.1309)
OKLCHoklch(45.45% 0.133 260.8)
XYZxyz(10.2241, 9.1397, 34.0195)
Luminance0.0914 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28539F #9F7428
analogous
#288F9F #28539F #38289F
triadic
#28539F #9F2853 #539F28
tetradic
#28539F #9F288F #9F7428 #289F38
square
#28539F #9F288F #9F7428 #289F38
split-complementary
#28539F #9F3828 #8F9F28
monochromatic
#0F203D #1C396E #28539F #376DCD #6891D9

Accessibility & contrast

On white

7.43
#28539F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#28539F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28539F
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28539F#FFFFFF#000000##FFFFFF
##28539F1.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)
#2A5BA2
Deuteranopia (green-blind)
#0B509D
Tritanopia (blue-blind)
#006571
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #28539f;
/* rgb */ color: rgb(40, 83, 159);
/* oklch */ color: oklch(45.5% 0.133 260.8);
Tailwind
colors: {
  custom: {
    50: '#7382bc',
    500: '#28539f',
    950: '#000000',
  },
}
SCSS
$custom: #28539f;
$custom-light: #7382bc;
$custom-dark: #000000;
JSON
{
  "hex": "#28539f",
  "rgb": {
    "r": 40,
    "g": 83,
    "b": 159
  },
  "hsl": {
    "h": 218.319,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.45451,
    "c": 0.13258,
    "h": 260.8
  },
  "luminance": 0.09141
}

Semantic roles & 50–950 ramp

primary
#28539F
secondary
#BF9E64
accent
#AA45E3
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #28539F

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

Preview Lab → · Contrast checker → · Palette generator →

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