#28279C#28279C

#28279C is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.8% C 0.182 H 273.2°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#28279C
RGBrgb(40, 39, 156)
HSLhsl(241, 60%, 38%)
HSVhsv(241, 75%, 61%)
CMYKcmyk(74.4%, 75%, 0%, 38.8%)
CIE-LABlab(24.64, 40.21, -62.72)
CIE-LCHlch(24.64, 74.50, 302.66°)
OKLaboklab(36.75% 0.0103 -0.1815)
OKLCHoklch(36.75% 0.182 273.2)
XYZxyz(7.5993, 4.3017, 31.8759)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28279C #9B9C27
analogous
#27609C #28279C #62279C
triadic
#28279C #9C2827 #279C28
tetradic
#28279C #9C2760 #9B9C27 #279C62
square
#28279C #9C2760 #9B9C27 #279C62
split-complementary
#28279C #9C6227 #609C27
monochromatic
#0F0F3A #1B1B6B #28279C #3534CC #6665D8

Accessibility & contrast

On white

11.29
#28279C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#28279C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28279C
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28279C#FFFFFF#000000##FFFFFF
##28279C1.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409F
Deuteranopia (green-blind)
#00359A
Tritanopia (blue-blind)
#00495F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #28279c;
/* rgb */ color: rgb(40, 39, 156);
/* oklch */ color: oklch(36.8% 0.182 273.2);
Tailwind
colors: {
  custom: {
    50: '#7563ba',
    500: '#28279c',
    950: '#000000',
  },
}
SCSS
$custom: #28279c;
$custom-light: #7563ba;
$custom-dark: #000000;
JSON
{
  "hex": "#28279c",
  "rgb": {
    "r": 40,
    "g": 39,
    "b": 156
  },
  "hsl": {
    "h": 240.513,
    "s": 60,
    "l": 38.235
  },
  "oklch": {
    "l": 0.3675,
    "c": 0.18176,
    "h": 273.2
  },
  "luminance": 0.04302
}

Semantic roles & 50–950 ramp

primary
#28279C
secondary
#BDBE61
accent
#E345E2
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #28279C

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

Preview Lab → · Contrast checker → · Palette generator →

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