#28487A#28487A

#28487A is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.3% C 0.093 H 259.0°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#28487A
RGBrgb(40, 72, 122)
HSLhsl(217, 51%, 32%)
HSVhsv(217, 67%, 48%)
CMYKcmyk(67.2%, 41%, 0%, 52.2%)
CIE-LABlab(30.62, 5.65, -31.99)
CIE-LCHlch(30.62, 32.48, 280.02°)
OKLaboklab(40.35% -0.0177 -0.091)
OKLCHoklch(40.35% 0.093 259)
XYZxyz(6.7040, 6.4903, 19.3080)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28487A #7A5A28
analogous
#28717A #28487A #31287A
triadic
#28487A #7A2848 #487A28
tetradic
#28487A #7A2871 #7A5A28 #287A31
square
#28487A #7A2871 #7A5A28 #287A31
split-complementary
#28487A #7A3128 #717A28
monochromatic
#0A121E #192D4C #28487A #3763A8 #5582C7

Accessibility & contrast

On white

9.14
#28487A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#28487A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28487A
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28487A#FFFFFF#000000##FFFFFF
##28487A1.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324C7C
Deuteranopia (green-blind)
#264579
Tritanopia (blue-blind)
#00535B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #28487a;
/* rgb */ color: rgb(40, 72, 122);
/* oklch */ color: oklch(40.3% 0.093 259.0);
Tailwind
colors: {
  custom: {
    50: '#6b7aa1',
    500: '#28487a',
    950: '#000000',
  },
}
SCSS
$custom: #28487a;
$custom-light: #6b7aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#28487a",
  "rgb": {
    "r": 40,
    "g": 72,
    "b": 122
  },
  "hsl": {
    "h": 216.585,
    "s": 50.617,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40349,
    "c": 0.09271,
    "h": 259
  },
  "luminance": 0.06491
}

Semantic roles & 50–950 ramp

primary
#28487A
secondary
#AC8952
accent
#A34EDA
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07090F
muted
#7A7B7E

Preview Lab

Preview with #28487A

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

Preview Lab → · Contrast checker → · Palette generator →

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