#28489B#28489B

#28489B is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.7% C 0.141 H 265.0°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#28489B
RGBrgb(40, 72, 155)
HSLhsl(223, 59%, 38%)
HSVhsv(223, 74%, 61%)
CMYKcmyk(74.2%, 53.5%, 0%, 39.2%)
CIE-LABlab(32.81, 18.39, -48.76)
CIE-LCHlch(32.81, 52.11, 290.67°)
OKLaboklab(42.74% -0.0122 -0.1403)
OKLCHoklch(42.74% 0.141 265)
XYZxyz(9.1067, 7.4514, 31.9623)
Luminance0.0745 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28489B #9B7B28
analogous
#28819B #28489B #41289B
triadic
#28489B #9B2848 #489B28
tetradic
#28489B #9B2881 #9B7B28 #289B41
square
#28489B #9B2881 #9B7B28 #289B41
split-complementary
#28489B #9B4128 #819B28
monochromatic
#0F1B3A #1B316A #28489B #355FCB #6686D7

Accessibility & contrast

On white

8.43
#28489B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#28489B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28489B
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28489B#FFFFFF#000000##FFFFFF
##28489B1.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E539E
Deuteranopia (green-blind)
#004899
Tritanopia (blue-blind)
#005C6A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #28489b;
/* rgb */ color: rgb(40, 72, 155);
/* oklch */ color: oklch(42.7% 0.141 265.0);
Tailwind
colors: {
  custom: {
    50: '#727ab9',
    500: '#28489b',
    950: '#000000',
  },
}
SCSS
$custom: #28489b;
$custom-light: #727ab9;
$custom-dark: #000000;
JSON
{
  "hex": "#28489b",
  "rgb": {
    "r": 40,
    "g": 72,
    "b": 155
  },
  "hsl": {
    "h": 223.304,
    "s": 58.974,
    "l": 38.235
  },
  "oklch": {
    "l": 0.42738,
    "c": 0.14084,
    "h": 265
  },
  "luminance": 0.07452
}

Semantic roles & 50–950 ramp

primary
#28489B
secondary
#BDA461
accent
#B746E2
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #28489B

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

Preview Lab → · Contrast checker → · Palette generator →

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