#28279A#28279A

#28279A is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.5% C 0.179 H 273.4°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#28279A
RGBrgb(40, 39, 154)
HSLhsl(241, 60%, 38%)
HSVhsv(241, 75%, 60%)
CMYKcmyk(74%, 74.7%, 0%, 39.6%)
CIE-LABlab(24.43, 39.53, -61.85)
CIE-LCHlch(24.43, 73.40, 302.58°)
OKLaboklab(36.54% 0.0107 -0.1789)
OKLCHoklch(36.54% 0.179 273.4)
XYZxyz(7.4314, 4.2345, 30.9913)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28279A #999A27
analogous
#275F9A #28279A #62279A
triadic
#28279A #9A2827 #279A28
tetradic
#28279A #9A275F #999A27 #279A62
square
#28279A #9A275F #999A27 #279A62
split-complementary
#28279A #9A6227 #5F9A27
monochromatic
#0F0E38 #1B1B69 #28279A #3533CB #6564D8

Accessibility & contrast

On white

11.37
#28279A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#28279A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28279A
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28279A#FFFFFF#000000##FFFFFF
##28279A1.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9D
Deuteranopia (green-blind)
#003498
Tritanopia (blue-blind)
#00485E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #28279a;
/* rgb */ color: rgb(40, 39, 154);
/* oklch */ color: oklch(36.5% 0.179 273.4);
Tailwind
colors: {
  custom: {
    50: '#7563b9',
    500: '#28279a',
    950: '#000000',
  },
}
SCSS
$custom: #28279a;
$custom-light: #7563b9;
$custom-dark: #000000;
JSON
{
  "hex": "#28279a",
  "rgb": {
    "r": 40,
    "g": 39,
    "b": 154
  },
  "hsl": {
    "h": 240.522,
    "s": 59.585,
    "l": 37.843
  },
  "oklch": {
    "l": 0.36535,
    "c": 0.17925,
    "h": 273.4
  },
  "luminance": 0.04235
}

Semantic roles & 50–950 ramp

primary
#28279A
secondary
#BDBD5F
accent
#E345E1
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #28279A

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

Preview Lab → · Contrast checker → · Palette generator →

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