#28489A#28489A

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

Color values

HEX#28489A
RGBrgb(40, 72, 154)
HSLhsl(223, 59%, 38%)
HSVhsv(223, 74%, 60%)
CMYKcmyk(74%, 53.2%, 0%, 39.6%)
CIE-LABlab(32.74, 18.00, -48.27)
CIE-LCHlch(32.74, 51.52, 290.45°)
OKLaboklab(42.66% -0.0123 -0.1389)
OKLCHoklch(42.66% 0.139 265)
XYZxyz(9.0231, 7.4180, 31.5219)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28489A #9A7A28
analogous
#28819A #28489A #41289A
triadic
#28489A #9A2848 #489A28
tetradic
#28489A #9A2881 #9A7A28 #289A41
square
#28489A #9A2881 #9A7A28 #289A41
split-complementary
#28489A #9A4128 #819A28
monochromatic
#0F1B39 #1B3169 #28489A #355FCA #6585D7

Accessibility & contrast

On white

8.45
#28489A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#28489A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28489A
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28489A#FFFFFF#000000##FFFFFF
##28489A1.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10539D
Deuteranopia (green-blind)
#004898
Tritanopia (blue-blind)
#005C6A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #28489a;
/* rgb */ color: rgb(40, 72, 154);
/* oklch */ color: oklch(42.7% 0.139 265.0);
Tailwind
colors: {
  custom: {
    50: '#727ab8',
    500: '#28489a',
    950: '#000000',
  },
}
SCSS
$custom: #28489a;
$custom-light: #727ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#28489a",
  "rgb": {
    "r": 40,
    "g": 72,
    "b": 154
  },
  "hsl": {
    "h": 223.158,
    "s": 58.763,
    "l": 38.039
  },
  "oklch": {
    "l": 0.42659,
    "c": 0.13942,
    "h": 265
  },
  "luminance": 0.07419
}

Semantic roles & 50–950 ramp

primary
#28489A
secondary
#BDA361
accent
#B646E2
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #28489A

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

Preview Lab → · Contrast checker → · Palette generator →

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