#28489C#28489C

#28489C is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.8% C 0.142 H 265.1°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#28489C
RGBrgb(40, 72, 156)
HSLhsl(223, 59%, 38%)
HSVhsv(223, 74%, 61%)
CMYKcmyk(74.4%, 53.8%, 0%, 38.8%)
CIE-LABlab(32.89, 18.78, -49.24)
CIE-LCHlch(32.89, 52.70, 290.87°)
OKLaboklab(42.82% -0.0121 -0.1417)
OKLCHoklch(42.82% 0.142 265.1)
XYZxyz(9.1911, 7.4852, 32.4064)
Luminance0.0749 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28489C #9C7C28
analogous
#28829C #28489C #42289C
triadic
#28489C #9C2848 #489C28
tetradic
#28489C #9C2882 #9C7C28 #289C42
square
#28489C #9C2882 #9C7C28 #289C42
split-complementary
#28489C #9C4228 #829C28
monochromatic
#0F1B3B #1C326B #28489C #365FCB #6786D8

Accessibility & contrast

On white

8.41
#28489C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#28489C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28489C
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28489C#FFFFFF#000000##FFFFFF
##28489C1.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B539F
Deuteranopia (green-blind)
#00489A
Tritanopia (blue-blind)
#005C6B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #28489c;
/* rgb */ color: rgb(40, 72, 156);
/* oklch */ color: oklch(42.8% 0.142 265.1);
Tailwind
colors: {
  custom: {
    50: '#727aba',
    500: '#28489c',
    950: '#000000',
  },
}
SCSS
$custom: #28489c;
$custom-light: #727aba;
$custom-dark: #000000;
JSON
{
  "hex": "#28489c",
  "rgb": {
    "r": 40,
    "g": 72,
    "b": 156
  },
  "hsl": {
    "h": 223.448,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.42817,
    "c": 0.14225,
    "h": 265.1
  },
  "luminance": 0.07486
}

Semantic roles & 50–950 ramp

primary
#28489C
secondary
#BEA562
accent
#B745E2
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #28489C

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

Preview Lab → · Contrast checker → · Palette generator →

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