#28449E#28449E

#28449E is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.1% C 0.150 H 266.7°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#28449E
RGBrgb(40, 68, 158)
HSLhsl(226, 60%, 39%)
HSVhsv(226, 75%, 62%)
CMYKcmyk(74.7%, 57%, 0%, 38%)
CIE-LABlab(31.93, 22.25, -52.01)
CIE-LCHlch(31.93, 56.57, 293.16°)
OKLaboklab(42.14% -0.0087 -0.1499)
OKLCHoklch(42.14% 0.15 266.7)
XYZxyz(9.1116, 7.0530, 33.2223)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28449E #9E8228
analogous
#287F9E #28449E #47289E
triadic
#28449E #9E2844 #449E28
tetradic
#28449E #9E287F #9E8228 #289E47
square
#28449E #9E287F #9E8228 #289E47
split-complementary
#28449E #9E4728 #7F9E28
monochromatic
#0F1A3C #1C2F6D #28449E #375ACC #6883D9

Accessibility & contrast

On white

8.71
#28449E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#28449E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28449E
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28449E#FFFFFF#000000##FFFFFF
##28449E1.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A1
Deuteranopia (green-blind)
#00469C
Tritanopia (blue-blind)
#005A6A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #28449e;
/* rgb */ color: rgb(40, 68, 158);
/* oklch */ color: oklch(42.1% 0.150 266.7);
Tailwind
colors: {
  custom: {
    50: '#7377bb',
    500: '#28449e',
    950: '#000000',
  },
}
SCSS
$custom: #28449e;
$custom-light: #7377bb;
$custom-dark: #000000;
JSON
{
  "hex": "#28449e",
  "rgb": {
    "r": 40,
    "g": 68,
    "b": 158
  },
  "hsl": {
    "h": 225.763,
    "s": 59.596,
    "l": 38.824
  },
  "oklch": {
    "l": 0.42141,
    "c": 0.15019,
    "h": 266.7
  },
  "luminance": 0.07054
}

Semantic roles & 50–950 ramp

primary
#28449E
secondary
#BFA963
accent
#BD45E3
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #28449E

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

Preview Lab → · Contrast checker → · Palette generator →

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