#28487D#28487D

#28487D is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.5% C 0.097 H 259.9°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#28487D
RGBrgb(40, 72, 125)
HSLhsl(217, 52%, 32%)
HSVhsv(217, 68%, 49%)
CMYKcmyk(68%, 42.4%, 0%, 51%)
CIE-LABlab(30.80, 6.80, -33.57)
CIE-LCHlch(30.80, 34.25, 281.44°)
OKLaboklab(40.55% -0.017 -0.0957)
OKLCHoklch(40.55% 0.097 259.9)
XYZxyz(6.8928, 6.5658, 20.3021)
Luminance0.0657 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28487D #7D5D28
analogous
#28727D #28487D #33287D
triadic
#28487D #7D2848 #487D28
tetradic
#28487D #7D2872 #7D5D28 #287D33
square
#28487D #7D2872 #7D5D28 #287D33
split-complementary
#28487D #7D3328 #727D28
monochromatic
#0A1320 #192D4F #28487D #3763AB #5682C9

Accessibility & contrast

On white

9.08
#28487D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#28487D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28487D
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28487D#FFFFFF#000000##FFFFFF
##28487D1.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304D7F
Deuteranopia (green-blind)
#23457C
Tritanopia (blue-blind)
#00545C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #28487d;
/* rgb */ color: rgb(40, 72, 125);
/* oklch */ color: oklch(40.5% 0.097 259.9);
Tailwind
colors: {
  custom: {
    50: '#6c7aa3',
    500: '#28487d',
    950: '#000000',
  },
}
SCSS
$custom: #28487d;
$custom-light: #6c7aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#28487d",
  "rgb": {
    "r": 40,
    "g": 72,
    "b": 125
  },
  "hsl": {
    "h": 217.412,
    "s": 51.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.40547,
    "c": 0.09715,
    "h": 259.9
  },
  "luminance": 0.06567
}

Semantic roles & 50–950 ramp

primary
#28487D
secondary
#AE8C53
accent
#A54DDB
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #28487D

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

Preview Lab → · Contrast checker → · Palette generator →

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