#28449B#28449B

#28449B is a dark, vivid blue. Relative luminance 0.070; OKLCH L 41.9% C 0.146 H 266.5°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#28449B
RGBrgb(40, 68, 155)
HSLhsl(225, 59%, 38%)
HSVhsv(225, 74%, 61%)
CMYKcmyk(74.2%, 56.1%, 0%, 39.2%)
CIE-LABlab(31.70, 21.10, -50.57)
CIE-LCHlch(31.70, 54.80, 292.64°)
OKLaboklab(41.89% -0.0088 -0.1457)
OKLCHoklch(41.89% 0.146 266.5)
XYZxyz(8.8565, 6.9510, 31.8789)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28449B #9B7F28
analogous
#287D9B #28449B #45289B
triadic
#28449B #9B2844 #449B28
tetradic
#28449B #9B287D #9B7F28 #289B45
square
#28449B #9B287D #9B7F28 #289B45
split-complementary
#28449B #9B4528 #7D9B28
monochromatic
#0F193A #1B2F6A #28449B #355ACB #6682D7

Accessibility & contrast

On white

8.79
#28449B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#28449B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28449B
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28449B#FFFFFF#000000##FFFFFF
##28449B1.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509E
Deuteranopia (green-blind)
#004599
Tritanopia (blue-blind)
#005968
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #28449b;
/* rgb */ color: rgb(40, 68, 155);
/* oklch */ color: oklch(41.9% 0.146 266.5);
Tailwind
colors: {
  custom: {
    50: '#7277b9',
    500: '#28449b',
    950: '#000000',
  },
}
SCSS
$custom: #28449b;
$custom-light: #7277b9;
$custom-dark: #000000;
JSON
{
  "hex": "#28449b",
  "rgb": {
    "r": 40,
    "g": 68,
    "b": 155
  },
  "hsl": {
    "h": 225.391,
    "s": 58.974,
    "l": 38.235
  },
  "oklch": {
    "l": 0.41893,
    "c": 0.14598,
    "h": 266.5
  },
  "luminance": 0.06952
}

Semantic roles & 50–950 ramp

primary
#28449B
secondary
#BDA761
accent
#BC46E2
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #28449B

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

Preview Lab → · Contrast checker → · Palette generator →

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