#282876#282876

#282876 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.1% C 0.130 H 276.6°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#282876
RGBrgb(40, 40, 118)
HSLhsl(240, 49%, 31%)
HSVhsv(240, 66%, 46%)
CMYKcmyk(66.1%, 66.1%, 0%, 53.7%)
CIE-LABlab(21.12, 26.13, -44.76)
CIE-LCHlch(21.12, 51.83, 300.28°)
OKLaboklab(33.07% 0.015 -0.129)
OKLCHoklch(33.07% 0.13 276.6)
XYZxyz(4.9028, 3.2763, 17.5101)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282876 #767628
analogous
#284F76 #282876 #4F2876
triadic
#282876 #762828 #287628
tetradic
#282876 #76284F #767628 #28764F
square
#282876 #76284F #767628 #28764F
split-complementary
#282876 #764F28 #4F7628
monochromatic
#09091B #191948 #282876 #3737A4 #5454C5

Accessibility & contrast

On white

12.69
#282876 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#282876 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282876
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282876#FFFFFF#000000##FFFFFF
##2828761.0012.691.6612.69
#FFFFFF12.691.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003678
Deuteranopia (green-blind)
#002F74
Tritanopia (blue-blind)
#003C4B
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #282876;
/* rgb */ color: rgb(40, 40, 118);
/* oklch */ color: oklch(33.1% 0.130 276.6);
Tailwind
colors: {
  custom: {
    50: '#6c629e',
    500: '#282876',
    950: '#000000',
  },
}
SCSS
$custom: #282876;
$custom-light: #6c629e;
$custom-dark: #000000;
JSON
{
  "hex": "#282876",
  "rgb": {
    "r": 40,
    "g": 40,
    "b": 118
  },
  "hsl": {
    "h": 240,
    "s": 49.367,
    "l": 30.98
  },
  "oklch": {
    "l": 0.33071,
    "c": 0.12984,
    "h": 276.6
  },
  "luminance": 0.03277
}

Semantic roles & 50–950 ramp

primary
#282876
secondary
#A8A852
accent
#D94FD9
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #282876

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

Preview Lab → · Contrast checker → · Palette generator →

#282876 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva