#282576#282576

#282576 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.5% C 0.134 H 277.6°. Best body text is #FFFFFF at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#282576
RGBrgb(40, 37, 118)
HSLhsl(242, 52%, 30%)
HSVhsv(242, 69%, 46%)
CMYKcmyk(66.1%, 68.6%, 0%, 53.7%)
CIE-LABlab(20.37, 28.12, -45.99)
CIE-LCHlch(20.37, 53.91, 301.45°)
OKLaboklab(32.53% 0.0176 -0.1326)
OKLCHoklch(32.53% 0.134 277.6)
XYZxyz(4.8056, 3.0819, 17.4776)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282576 #737625
analogous
#254A76 #282576 #502576
triadic
#282576 #762825 #257628
tetradic
#282576 #76254A #737625 #257650
square
#282576 #76254A #737625 #257650
split-complementary
#282576 #765025 #4A7625
monochromatic
#080819 #181647 #282576 #3834A5 #524EC7

Accessibility & contrast

On white

12.99
#282576 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#282576 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282576
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282576#FFFFFF#000000##FFFFFF
##2825761.0012.991.6212.99
#FFFFFF12.991.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003479
Deuteranopia (green-blind)
#002E74
Tritanopia (blue-blind)
#003A4A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #282576;
/* rgb */ color: rgb(40, 37, 118);
/* oklch */ color: oklch(32.5% 0.134 277.6);
Tailwind
colors: {
  custom: {
    50: '#6c609e',
    500: '#282576',
    950: '#000000',
  },
}
SCSS
$custom: #282576;
$custom-light: #6c609e;
$custom-dark: #000000;
JSON
{
  "hex": "#282576",
  "rgb": {
    "r": 40,
    "g": 37,
    "b": 118
  },
  "hsl": {
    "h": 242.222,
    "s": 52.258,
    "l": 30.392
  },
  "oklch": {
    "l": 0.32525,
    "c": 0.13375,
    "h": 277.6
  },
  "luminance": 0.03082
}

Semantic roles & 50–950 ramp

primary
#282576
secondary
#A5A94E
accent
#DC4CD6
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08050E
muted
#7B797E

Preview Lab

Preview with #282576

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

Preview Lab → · Contrast checker → · Palette generator →

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