#28276A#28276A

#28276A is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.8% C 0.114 H 278.4°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#28276A
RGBrgb(40, 39, 106)
HSLhsl(241, 46%, 28%)
HSVhsv(241, 63%, 42%)
CMYKcmyk(62.3%, 63.2%, 0%, 58.4%)
CIE-LABlab(19.81, 22.43, -39.15)
CIE-LCHlch(19.81, 45.12, 299.80°)
OKLaboklab(31.79% 0.0166 -0.1125)
OKLCHoklch(31.79% 0.114 278.4)
XYZxyz(4.2013, 2.9425, 13.9794)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28276A #696A27
analogous
#27476A #28276A #49276A
triadic
#28276A #6A2827 #276A28
tetradic
#28276A #6A2747 #696A27 #276A49
square
#28276A #6A2747 #696A27 #276A49
split-complementary
#28276A #6A4927 #476A27
monochromatic
#080816 #17173D #28276A #393797 #4F4EBE

Accessibility & contrast

On white

13.22
#28276A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#28276A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28276A
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28276A#FFFFFF#000000##FFFFFF
##28276A1.0013.221.5913.22
#FFFFFF13.221.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336C
Deuteranopia (green-blind)
#002D69
Tritanopia (blue-blind)
#003744
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #28276a;
/* rgb */ color: rgb(40, 39, 106);
/* oklch */ color: oklch(31.8% 0.114 278.4);
Tailwind
colors: {
  custom: {
    50: '#6a6195',
    500: '#28276a',
    950: '#000000',
  },
}
SCSS
$custom: #28276a;
$custom-light: #6a6195;
$custom-dark: #000000;
JSON
{
  "hex": "#28276a",
  "rgb": {
    "r": 40,
    "g": 39,
    "b": 106
  },
  "hsl": {
    "h": 240.896,
    "s": 46.207,
    "l": 28.431
  },
  "oklch": {
    "l": 0.31785,
    "c": 0.11372,
    "h": 278.4
  },
  "luminance": 0.02943
}

Semantic roles & 50–950 ramp

primary
#28276A
secondary
#9C9D50
accent
#D652D4
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07050D
muted
#7A797E

Preview Lab

Preview with #28276A

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

Preview Lab → · Contrast checker → · Palette generator →

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