#282976#282976

#282976 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.3% C 0.129 H 276.3°. Best body text is #FFFFFF at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#282976
RGBrgb(40, 41, 118)
HSLhsl(239, 49%, 31%)
HSVhsv(239, 66%, 46%)
CMYKcmyk(66.1%, 65.3%, 0%, 53.7%)
CIE-LABlab(21.37, 25.46, -44.35)
CIE-LCHlch(21.37, 51.14, 299.86°)
OKLaboklab(33.26% 0.0141 -0.1277)
OKLCHoklch(33.26% 0.129 276.3)
XYZxyz(4.9370, 3.3446, 17.5214)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282976 #767528
analogous
#285076 #282976 #4E2876
triadic
#282976 #762829 #297628
tetradic
#282976 #762850 #767528 #28764E
square
#282976 #762850 #767528 #28764E
split-complementary
#282976 #764E28 #507628
monochromatic
#09091B #191948 #282976 #3739A4 #5455C5

Accessibility & contrast

On white

12.58
#282976 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#282976 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282976
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282976#FFFFFF#000000##FFFFFF
##2829761.0012.581.6712.58
#FFFFFF12.581.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003778
Deuteranopia (green-blind)
#003074
Tritanopia (blue-blind)
#003C4B
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #282976;
/* rgb */ color: rgb(40, 41, 118);
/* oklch */ color: oklch(33.3% 0.129 276.3);
Tailwind
colors: {
  custom: {
    50: '#6c639e',
    500: '#282976',
    950: '#000000',
  },
}
SCSS
$custom: #282976;
$custom-light: #6c639e;
$custom-dark: #000000;
JSON
{
  "hex": "#282976",
  "rgb": {
    "r": 40,
    "g": 41,
    "b": 118
  },
  "hsl": {
    "h": 239.231,
    "s": 49.367,
    "l": 30.98
  },
  "oklch": {
    "l": 0.33258,
    "c": 0.12852,
    "h": 276.3
  },
  "luminance": 0.03345
}

Semantic roles & 50–950 ramp

primary
#282976
secondary
#A8A752
accent
#D74FD9
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #282976

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

Preview Lab → · Contrast checker → · Palette generator →

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