#28279E#28279E

#28279E is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.0% C 0.184 H 273.1°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#28279E
RGBrgb(40, 39, 158)
HSLhsl(241, 60%, 39%)
HSVhsv(241, 75%, 62%)
CMYKcmyk(74.7%, 75.3%, 0%, 38%)
CIE-LABlab(24.86, 40.89, -63.59)
CIE-LCHlch(24.86, 75.60, 302.74°)
OKLaboklab(36.97% 0.0099 -0.184)
OKLCHoklch(36.97% 0.184 273.1)
XYZxyz(7.7701, 4.3700, 32.7751)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28279E #9D9E27
analogous
#27619E #28279E #63279E
triadic
#28279E #9E2827 #279E28
tetradic
#28279E #9E2761 #9D9E27 #279E63
square
#28279E #9E2761 #9D9E27 #279E63
split-complementary
#28279E #9E6327 #619E27
monochromatic
#0F0F3C #1C1B6D #28279E #3635CD #6766D9

Accessibility & contrast

On white

11.20
#28279E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#28279E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28279E
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28279E#FFFFFF#000000##FFFFFF
##28279E1.0011.201.8711.20
#FFFFFF11.201.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A1
Deuteranopia (green-blind)
#00359C
Tritanopia (blue-blind)
#004A60
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #28279e;
/* rgb */ color: rgb(40, 39, 158);
/* oklch */ color: oklch(37.0% 0.184 273.1);
Tailwind
colors: {
  custom: {
    50: '#7663bc',
    500: '#28279e',
    950: '#000000',
  },
}
SCSS
$custom: #28279e;
$custom-light: #7663bc;
$custom-dark: #000000;
JSON
{
  "hex": "#28279e",
  "rgb": {
    "r": 40,
    "g": 39,
    "b": 158
  },
  "hsl": {
    "h": 240.504,
    "s": 60.406,
    "l": 38.627
  },
  "oklch": {
    "l": 0.36966,
    "c": 0.18427,
    "h": 273.1
  },
  "luminance": 0.04371
}

Semantic roles & 50–950 ramp

primary
#28279E
secondary
#BEBF62
accent
#E444E2
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #28279E

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

Preview Lab → · Contrast checker → · Palette generator →

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