#28487B#28487B

#28487B is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.4% C 0.094 H 259.3°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#28487B
RGBrgb(40, 72, 123)
HSLhsl(217, 51%, 32%)
HSVhsv(217, 67%, 48%)
CMYKcmyk(67.5%, 41.5%, 0%, 51.8%)
CIE-LABlab(30.68, 6.03, -32.52)
CIE-LCHlch(30.68, 33.07, 280.51°)
OKLaboklab(40.41% -0.0174 -0.0926)
OKLCHoklch(40.41% 0.094 259.3)
XYZxyz(6.7663, 6.5153, 19.6360)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28487B #7B5B28
analogous
#28727B #28487B #31287B
triadic
#28487B #7B2848 #487B28
tetradic
#28487B #7B2872 #7B5B28 #287B31
square
#28487B #7B2872 #7B5B28 #287B31
split-complementary
#28487B #7B3128 #727B28
monochromatic
#0A121F #192D4D #28487B #3763A9 #5682C8

Accessibility & contrast

On white

9.12
#28487B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28487B
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28487B#FFFFFF#000000##FFFFFF
##28487B1.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314C7D
Deuteranopia (green-blind)
#25457A
Tritanopia (blue-blind)
#00545B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #28487b;
/* rgb */ color: rgb(40, 72, 123);
/* oklch */ color: oklch(40.4% 0.094 259.3);
Tailwind
colors: {
  custom: {
    50: '#6b7aa1',
    500: '#28487b',
    950: '#000000',
  },
}
SCSS
$custom: #28487b;
$custom-light: #6b7aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#28487b",
  "rgb": {
    "r": 40,
    "g": 72,
    "b": 123
  },
  "hsl": {
    "h": 216.867,
    "s": 50.92,
    "l": 31.961
  },
  "oklch": {
    "l": 0.40414,
    "c": 0.0942,
    "h": 259.3
  },
  "luminance": 0.06516
}

Semantic roles & 50–950 ramp

primary
#28487B
secondary
#AD8A52
accent
#A44DDA
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07090F
muted
#7A7B7E

Preview Lab

Preview with #28487B

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

Preview Lab → · Contrast checker → · Palette generator →

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