#28488B#28488B

#28488B is a dark, moderate blue. Relative luminance 0.070; OKLCH L 41.5% C 0.118 H 263.1°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#28488B
RGBrgb(40, 72, 139)
HSLhsl(221, 55%, 35%)
HSVhsv(221, 71%, 55%)
CMYKcmyk(71.2%, 48.2%, 0%, 45.5%)
CIE-LABlab(31.69, 12.19, -40.81)
CIE-LCHlch(31.69, 42.59, 286.63°)
OKLaboklab(41.52% -0.0142 -0.1169)
OKLCHoklch(41.52% 0.118 263.1)
XYZxyz(7.8510, 6.9491, 25.3487)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28488B #8B6B28
analogous
#28798B #28488B #39288B
triadic
#28488B #8B2848 #488B28
tetradic
#28488B #8B2879 #8B6B28 #288B39
square
#28488B #8B2879 #8B6B28 #288B39
split-complementary
#28488B #8B3928 #798B28
monochromatic
#0D172C #1A2F5B #28488B #3661BB #5D82D0

Accessibility & contrast

On white

8.79
#28488B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#28488B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28488B
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28488B#FFFFFF#000000##FFFFFF
##28488B1.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254F8D
Deuteranopia (green-blind)
#0F468A
Tritanopia (blue-blind)
#005862
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #28488b;
/* rgb */ color: rgb(40, 72, 139);
/* oklch */ color: oklch(41.5% 0.118 263.1);
Tailwind
colors: {
  custom: {
    50: '#6f7aad',
    500: '#28488b',
    950: '#000000',
  },
}
SCSS
$custom: #28488b;
$custom-light: #6f7aad;
$custom-dark: #000000;
JSON
{
  "hex": "#28488b",
  "rgb": {
    "r": 40,
    "g": 72,
    "b": 139
  },
  "hsl": {
    "h": 220.606,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.41524,
    "c": 0.11778,
    "h": 263.1
  },
  "luminance": 0.0695
}

Semantic roles & 50–950 ramp

primary
#28488B
secondary
#B69859
accent
#AE49DF
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #28488B

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

Preview Lab → · Contrast checker → · Palette generator →

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