#28489F#28489F

#28489F is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.1% C 0.146 H 265.4°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#28489F
RGBrgb(40, 72, 159)
HSLhsl(224, 60%, 39%)
HSVhsv(224, 75%, 62%)
CMYKcmyk(74.8%, 54.7%, 0%, 37.6%)
CIE-LABlab(33.11, 19.94, -50.70)
CIE-LCHlch(33.11, 54.48, 291.47°)
OKLaboklab(43.06% -0.0118 -0.146)
OKLCHoklch(43.06% 0.146 265.4)
XYZxyz(9.4482, 7.5880, 33.7609)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28489F #9F7F28
analogous
#28849F #28489F #44289F
triadic
#28489F #9F2848 #489F28
tetradic
#28489F #9F2884 #9F7F28 #289F44
square
#28489F #9F2884 #9F7F28 #289F44
split-complementary
#28489F #9F4428 #849F28
monochromatic
#0F1C3D #1C326E #28489F #3760CD #6887D9

Accessibility & contrast

On white

8.34
#28489F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#28489F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28489F
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28489F#FFFFFF#000000##FFFFFF
##28489F1.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0154A2
Deuteranopia (green-blind)
#00499D
Tritanopia (blue-blind)
#005D6C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #28489f;
/* rgb */ color: rgb(40, 72, 159);
/* oklch */ color: oklch(43.1% 0.146 265.4);
Tailwind
colors: {
  custom: {
    50: '#737abc',
    500: '#28489f',
    950: '#000000',
  },
}
SCSS
$custom: #28489f;
$custom-light: #737abc;
$custom-dark: #000000;
JSON
{
  "hex": "#28489f",
  "rgb": {
    "r": 40,
    "g": 72,
    "b": 159
  },
  "hsl": {
    "h": 223.866,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.43056,
    "c": 0.14649,
    "h": 265.4
  },
  "luminance": 0.07589
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #28489F

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

Preview Lab → · Contrast checker → · Palette generator →

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