#28489E#28489E

#28489E is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.0% C 0.145 H 265.3°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#28489E
RGBrgb(40, 72, 158)
HSLhsl(224, 60%, 39%)
HSVhsv(224, 75%, 62%)
CMYKcmyk(74.7%, 54.4%, 0%, 38%)
CIE-LABlab(33.04, 19.55, -50.21)
CIE-LCHlch(33.04, 53.89, 291.28°)
OKLaboklab(42.98% -0.0119 -0.1446)
OKLCHoklch(42.98% 0.145 265.3)
XYZxyz(9.3618, 7.5535, 33.3057)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28489E #9E7E28
analogous
#28839E #28489E #43289E
triadic
#28489E #9E2848 #489E28
tetradic
#28489E #9E2883 #9E7E28 #289E43
square
#28489E #9E2883 #9E7E28 #289E43
split-complementary
#28489E #9E4328 #839E28
monochromatic
#0F1B3C #1C326D #28489E #375FCC #6886D9

Accessibility & contrast

On white

8.36
#28489E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#28489E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28489E
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28489E#FFFFFF#000000##FFFFFF
##28489E1.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0553A1
Deuteranopia (green-blind)
#00499C
Tritanopia (blue-blind)
#005D6C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #28489e;
/* rgb */ color: rgb(40, 72, 158);
/* oklch */ color: oklch(43.0% 0.145 265.3);
Tailwind
colors: {
  custom: {
    50: '#737abb',
    500: '#28489e',
    950: '#000000',
  },
}
SCSS
$custom: #28489e;
$custom-light: #737abb;
$custom-dark: #000000;
JSON
{
  "hex": "#28489e",
  "rgb": {
    "r": 40,
    "g": 72,
    "b": 158
  },
  "hsl": {
    "h": 223.729,
    "s": 59.596,
    "l": 38.824
  },
  "oklch": {
    "l": 0.42976,
    "c": 0.14508,
    "h": 265.3
  },
  "luminance": 0.07554
}

Semantic roles & 50–950 ramp

primary
#28489E
secondary
#BFA663
accent
#B845E3
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #28489E

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

Preview Lab → · Contrast checker → · Palette generator →

#28489E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva