#28499F#28499F

#28499F is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.3% C 0.145 H 265.0°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#28499F
RGBrgb(40, 73, 159)
HSLhsl(223, 60%, 39%)
HSVhsv(223, 75%, 62%)
CMYKcmyk(74.8%, 54.1%, 0%, 37.6%)
CIE-LABlab(33.39, 19.26, -50.24)
CIE-LCHlch(33.39, 53.81, 290.98°)
OKLaboklab(43.27% -0.0126 -0.1447)
OKLCHoklch(43.27% 0.145 265)
XYZxyz(9.5134, 7.7184, 33.7826)
Luminance0.0772 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28499F #9F7E28
analogous
#28859F #28499F #42289F
triadic
#28499F #9F2849 #499F28
tetradic
#28499F #9F2885 #9F7E28 #289F42
square
#28499F #9F2885 #9F7E28 #289F42
split-complementary
#28499F #9F4228 #859F28
monochromatic
#0F1C3D #1C336E #28499F #3761CD #6888D9

Accessibility & contrast

On white

8.26
#28499F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#28499F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28499F
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28499F#FFFFFF#000000##FFFFFF
##28499F1.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0854A2
Deuteranopia (green-blind)
#00499D
Tritanopia (blue-blind)
#005E6D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #28499f;
/* rgb */ color: rgb(40, 73, 159);
/* oklch */ color: oklch(43.3% 0.145 265.0);
Tailwind
colors: {
  custom: {
    50: '#737bbc',
    500: '#28499f',
    950: '#000000',
  },
}
SCSS
$custom: #28499f;
$custom-light: #737bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#28499f",
  "rgb": {
    "r": 40,
    "g": 73,
    "b": 159
  },
  "hsl": {
    "h": 223.361,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.43268,
    "c": 0.14521,
    "h": 265
  },
  "luminance": 0.07719
}

Semantic roles & 50–950 ramp

primary
#28499F
secondary
#BFA664
accent
#B745E3
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #28499F

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

Preview Lab → · Contrast checker → · Palette generator →

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