#28439C#28439C

#28439C is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.8% C 0.149 H 266.9°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#28439C
RGBrgb(40, 67, 156)
HSLhsl(226, 59%, 38%)
HSVhsv(226, 74%, 61%)
CMYKcmyk(74.4%, 57.1%, 0%, 38.8%)
CIE-LABlab(31.50, 22.16, -51.50)
CIE-LCHlch(31.50, 56.06, 293.28°)
OKLaboklab(41.77% -0.008 -0.1484)
OKLCHoklch(41.77% 0.149 266.9)
XYZxyz(8.8809, 6.8648, 32.3030)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28439C #9C8128
analogous
#287D9C #28439C #47289C
triadic
#28439C #9C2843 #439C28
tetradic
#28439C #9C287D #9C8128 #289C47
square
#28439C #9C287D #9C8128 #289C47
split-complementary
#28439C #9C4728 #7D9C28
monochromatic
#0F193B #1C2E6B #28439C #3659CB #6781D8

Accessibility & contrast

On white

8.85
#28439C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#28439C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28439C
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28439C#FFFFFF#000000##FFFFFF
##28439C1.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509F
Deuteranopia (green-blind)
#00459A
Tritanopia (blue-blind)
#005969
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #28439c;
/* rgb */ color: rgb(40, 67, 156);
/* oklch */ color: oklch(41.8% 0.149 266.9);
Tailwind
colors: {
  custom: {
    50: '#7376ba',
    500: '#28439c',
    950: '#000000',
  },
}
SCSS
$custom: #28439c;
$custom-light: #7376ba;
$custom-dark: #000000;
JSON
{
  "hex": "#28439c",
  "rgb": {
    "r": 40,
    "g": 67,
    "b": 156
  },
  "hsl": {
    "h": 226.034,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.41769,
    "c": 0.14866,
    "h": 266.9
  },
  "luminance": 0.06866
}

Semantic roles & 50–950 ramp

primary
#28439C
secondary
#BEA862
accent
#BE45E2
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #28439C

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

Preview Lab → · Contrast checker → · Palette generator →

#28439C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva