#28449D#28449D

#28449D is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.1% C 0.149 H 266.6°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#28449D
RGBrgb(40, 68, 157)
HSLhsl(226, 59%, 39%)
HSVhsv(226, 75%, 62%)
CMYKcmyk(74.5%, 56.7%, 0%, 38.4%)
CIE-LABlab(31.85, 21.87, -51.53)
CIE-LCHlch(31.85, 55.98, 292.99°)
OKLaboklab(42.06% -0.0087 -0.1485)
OKLCHoklch(42.06% 0.149 266.6)
XYZxyz(9.0259, 7.0187, 32.7708)
Luminance0.0702 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28449D #9D8128
analogous
#287E9D #28449D #46289D
triadic
#28449D #9D2844 #449D28
tetradic
#28449D #9D287E #9D8128 #289D46
square
#28449D #9D287E #9D8128 #289D46
split-complementary
#28449D #9D4628 #7E9D28
monochromatic
#0F1A3B #1C2F6C #28449D #365ACC #6782D8

Accessibility & contrast

On white

8.74
#28449D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#28449D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28449D
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28449D#FFFFFF#000000##FFFFFF
##28449D1.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A0
Deuteranopia (green-blind)
#00469B
Tritanopia (blue-blind)
#005A69
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #28449d;
/* rgb */ color: rgb(40, 68, 157);
/* oklch */ color: oklch(42.1% 0.149 266.6);
Tailwind
colors: {
  custom: {
    50: '#7377bb',
    500: '#28449d',
    950: '#000000',
  },
}
SCSS
$custom: #28449d;
$custom-light: #7377bb;
$custom-dark: #000000;
JSON
{
  "hex": "#28449d",
  "rgb": {
    "r": 40,
    "g": 68,
    "b": 157
  },
  "hsl": {
    "h": 225.641,
    "s": 59.391,
    "l": 38.627
  },
  "oklch": {
    "l": 0.42058,
    "c": 0.1488,
    "h": 266.6
  },
  "luminance": 0.0702
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #28449D

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

Preview Lab → · Contrast checker → · Palette generator →

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