#28487E#28487E

#28487E is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.6% C 0.099 H 260.2°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#28487E
RGBrgb(40, 72, 126)
HSLhsl(218, 52%, 33%)
HSVhsv(218, 68%, 49%)
CMYKcmyk(68.3%, 42.9%, 0%, 50.6%)
CIE-LABlab(30.86, 7.18, -34.10)
CIE-LCHlch(30.86, 34.85, 281.89°)
OKLaboklab(40.61% -0.0167 -0.0972)
OKLCHoklch(40.61% 0.099 260.2)
XYZxyz(6.9570, 6.5915, 20.6403)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28487E #7E5E28
analogous
#28737E #28487E #33287E
triadic
#28487E #7E2848 #487E28
tetradic
#28487E #7E2873 #7E5E28 #287E33
square
#28487E #7E2873 #7E5E28 #287E33
split-complementary
#28487E #7E3328 #737E28
monochromatic
#0B1321 #192D50 #28487E #3763AC #5782CA

Accessibility & contrast

On white

9.06
#28487E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#28487E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28487E
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28487E#FFFFFF#000000##FFFFFF
##28487E1.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4D80
Deuteranopia (green-blind)
#22457D
Tritanopia (blue-blind)
#00545D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #28487e;
/* rgb */ color: rgb(40, 72, 126);
/* oklch */ color: oklch(40.6% 0.099 260.2);
Tailwind
colors: {
  custom: {
    50: '#6c7aa4',
    500: '#28487e',
    950: '#000000',
  },
}
SCSS
$custom: #28487e;
$custom-light: #6c7aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#28487e",
  "rgb": {
    "r": 40,
    "g": 72,
    "b": 126
  },
  "hsl": {
    "h": 217.674,
    "s": 51.807,
    "l": 32.549
  },
  "oklch": {
    "l": 0.40614,
    "c": 0.09863,
    "h": 260.2
  },
  "luminance": 0.06592
}

Semantic roles & 50–950 ramp

primary
#28487E
secondary
#AF8D53
accent
#A64DDB
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #28487E

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

Preview Lab → · Contrast checker → · Palette generator →

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