#28488F#28488F

#28488F is a dark, vivid blue. Relative luminance 0.071; OKLCH L 41.8% C 0.124 H 263.7°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#28488F
RGBrgb(40, 72, 143)
HSLhsl(221, 56%, 36%)
HSVhsv(221, 72%, 56%)
CMYKcmyk(72%, 49.7%, 0%, 43.9%)
CIE-LABlab(31.96, 13.74, -42.83)
CIE-LCHlch(31.96, 44.98, 287.79°)
OKLaboklab(41.82% -0.0136 -0.1229)
OKLCHoklch(41.82% 0.124 263.7)
XYZxyz(8.1486, 7.0682, 26.9161)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28488F #8F6F28
analogous
#287B8F #28488F #3B288F
triadic
#28488F #8F2848 #488F28
tetradic
#28488F #8F287B #8F6F28 #288F3B
square
#28488F #8F287B #8F6F28 #288F3B
split-complementary
#28488F #8F3B28 #7B8F28
monochromatic
#0D182F #1B305F #28488F #3560BF #5F83D2

Accessibility & contrast

On white

8.70
#28488F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#28488F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28488F
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28488F#FFFFFF#000000##FFFFFF
##28488F1.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215092
Deuteranopia (green-blind)
#03478E
Tritanopia (blue-blind)
#005964
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #28488f;
/* rgb */ color: rgb(40, 72, 143);
/* oklch */ color: oklch(41.8% 0.124 263.7);
Tailwind
colors: {
  custom: {
    50: '#6f7ab0',
    500: '#28488f',
    950: '#000000',
  },
}
SCSS
$custom: #28488f;
$custom-light: #6f7ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#28488f",
  "rgb": {
    "r": 40,
    "g": 72,
    "b": 143
  },
  "hsl": {
    "h": 221.359,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.41818,
    "c": 0.12361,
    "h": 263.7
  },
  "luminance": 0.07069
}

Semantic roles & 50–950 ramp

primary
#28488F
secondary
#B89B5B
accent
#B148E0
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #28488F

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

Preview Lab → · Contrast checker → · Palette generator →

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