#28487C#28487C

#28487C is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.5% C 0.096 H 259.6°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#28487C
RGBrgb(40, 72, 124)
HSLhsl(217, 51%, 32%)
HSVhsv(217, 68%, 49%)
CMYKcmyk(67.7%, 41.9%, 0%, 51.4%)
CIE-LABlab(30.74, 6.41, -33.05)
CIE-LCHlch(30.74, 33.66, 280.98°)
OKLaboklab(40.48% -0.0172 -0.0941)
OKLCHoklch(40.48% 0.096 259.6)
XYZxyz(6.8292, 6.5404, 19.9674)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28487C #7C5C28
analogous
#28727C #28487C #32287C
triadic
#28487C #7C2848 #487C28
tetradic
#28487C #7C2872 #7C5C28 #287C32
square
#28487C #7C2872 #7C5C28 #287C32
split-complementary
#28487C #7C3228 #727C28
monochromatic
#0A121F #192D4E #28487C #3763AA #5682C8

Accessibility & contrast

On white

9.10
#28487C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28487C
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28487C#FFFFFF#000000##FFFFFF
##28487C1.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314D7E
Deuteranopia (green-blind)
#24457B
Tritanopia (blue-blind)
#00545C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #28487c;
/* rgb */ color: rgb(40, 72, 124);
/* oklch */ color: oklch(40.5% 0.096 259.6);
Tailwind
colors: {
  custom: {
    50: '#6b7aa2',
    500: '#28487c',
    950: '#000000',
  },
}
SCSS
$custom: #28487c;
$custom-light: #6b7aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#28487c",
  "rgb": {
    "r": 40,
    "g": 72,
    "b": 124
  },
  "hsl": {
    "h": 217.143,
    "s": 51.22,
    "l": 32.157
  },
  "oklch": {
    "l": 0.4048,
    "c": 0.09568,
    "h": 259.6
  },
  "luminance": 0.06541
}

Semantic roles & 50–950 ramp

primary
#28487C
secondary
#AD8B52
accent
#A54DDB
background
#F6F7FA
surface
#ECEDF3
border
#C7C8CD
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #28487C

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

Preview Lab → · Contrast checker → · Palette generator →

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