#28488C#28488C

#28488C is a dark, moderate blue. Relative luminance 0.070; OKLCH L 41.6% C 0.119 H 263.2°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#28488C
RGBrgb(40, 72, 140)
HSLhsl(221, 56%, 35%)
HSVhsv(221, 71%, 55%)
CMYKcmyk(71.4%, 48.6%, 0%, 45.1%)
CIE-LABlab(31.76, 12.58, -41.32)
CIE-LCHlch(31.76, 43.19, 286.93°)
OKLaboklab(41.6% -0.0141 -0.1184)
OKLCHoklch(41.6% 0.119 263.2)
XYZxyz(7.9244, 6.9785, 25.7352)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28488C #8C6C28
analogous
#287A8C #28488C #3A288C
triadic
#28488C #8C2848 #488C28
tetradic
#28488C #8C287A #8C6C28 #288C3A
square
#28488C #8C287A #8C6C28 #288C3A
split-complementary
#28488C #8C3A28 #7A8C28
monochromatic
#0D172D #1A305C #28488C #3660BC #5E82D1

Accessibility & contrast

On white

8.77
#28488C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#28488C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28488C
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28488C#FFFFFF#000000##FFFFFF
##28488C1.008.772.408.77
#FFFFFF8.771.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24508F
Deuteranopia (green-blind)
#0C468B
Tritanopia (blue-blind)
#005863
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #28488c;
/* rgb */ color: rgb(40, 72, 140);
/* oklch */ color: oklch(41.6% 0.119 263.2);
Tailwind
colors: {
  custom: {
    50: '#6f7aae',
    500: '#28488c',
    950: '#000000',
  },
}
SCSS
$custom: #28488c;
$custom-light: #6f7aae;
$custom-dark: #000000;
JSON
{
  "hex": "#28488c",
  "rgb": {
    "r": 40,
    "g": 72,
    "b": 140
  },
  "hsl": {
    "h": 220.8,
    "s": 55.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.41597,
    "c": 0.11924,
    "h": 263.2
  },
  "luminance": 0.06979
}

Semantic roles & 50–950 ramp

primary
#28488C
secondary
#B6995A
accent
#AF49DF
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #28488C

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

Preview Lab → · Contrast checker → · Palette generator →

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