#28488A#28488A

#28488A is a dark, moderate blue. Relative luminance 0.069; OKLCH L 41.5% C 0.116 H 262.9°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#28488A
RGBrgb(40, 72, 138)
HSLhsl(220, 55%, 35%)
HSVhsv(220, 71%, 54%)
CMYKcmyk(71%, 47.8%, 0%, 45.9%)
CIE-LABlab(31.62, 11.80, -40.30)
CIE-LCHlch(31.62, 41.99, 286.32°)
OKLaboklab(41.45% -0.0144 -0.1154)
OKLCHoklch(41.45% 0.116 262.9)
XYZxyz(7.7783, 6.9200, 24.9656)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28488A #8A6A28
analogous
#28798A #28488A #39288A
triadic
#28488A #8A2848 #488A28
tetradic
#28488A #8A2879 #8A6A28 #288A39
square
#28488A #8A2879 #8A6A28 #288A39
split-complementary
#28488A #8A3928 #798A28
monochromatic
#0C162B #1A2F5B #28488A #3661B9 #5D82D0

Accessibility & contrast

On white

8.81
#28488A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#28488A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28488A
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28488A#FFFFFF#000000##FFFFFF
##28488A1.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264F8C
Deuteranopia (green-blind)
#114689
Tritanopia (blue-blind)
#005762
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #28488a;
/* rgb */ color: rgb(40, 72, 138);
/* oklch */ color: oklch(41.5% 0.116 262.9);
Tailwind
colors: {
  custom: {
    50: '#6e7aad',
    500: '#28488a',
    950: '#000000',
  },
}
SCSS
$custom: #28488a;
$custom-light: #6e7aad;
$custom-dark: #000000;
JSON
{
  "hex": "#28488a",
  "rgb": {
    "r": 40,
    "g": 72,
    "b": 138
  },
  "hsl": {
    "h": 220.408,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.41451,
    "c": 0.11632,
    "h": 262.9
  },
  "luminance": 0.06921
}

Semantic roles & 50–950 ramp

primary
#28488A
secondary
#B59759
accent
#AE49DE
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #28488A

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

Preview Lab → · Contrast checker → · Palette generator →

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