#282884#282884

#282884 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.4% C 0.149 H 275.2°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#282884
RGBrgb(40, 40, 132)
HSLhsl(240, 53%, 34%)
HSVhsv(240, 70%, 52%)
CMYKcmyk(69.7%, 69.7%, 0%, 48.2%)
CIE-LABlab(22.42, 31.20, -51.51)
CIE-LCHlch(22.42, 60.22, 301.21°)
OKLaboklab(34.42% 0.0135 -0.1487)
OKLCHoklch(34.42% 0.149 275.2)
XYZxyz(5.7973, 3.6341, 22.2213)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282884 #848428
analogous
#285684 #282884 #562884
triadic
#282884 #842828 #288428
tetradic
#282884 #842856 #848428 #288456
square
#282884 #842856 #848428 #288456
split-complementary
#282884 #845628 #568428
monochromatic
#0C0C26 #1A1A55 #282884 #3636B3 #5A5ACD

Accessibility & contrast

On white

12.16
#282884 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#282884 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282884
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282884#FFFFFF#000000##FFFFFF
##2828841.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A87
Deuteranopia (green-blind)
#003182
Tritanopia (blue-blind)
#004152
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #282884;
/* rgb */ color: rgb(40, 40, 132);
/* oklch */ color: oklch(34.4% 0.149 275.2);
Tailwind
colors: {
  custom: {
    50: '#6f62a9',
    500: '#282884',
    950: '#000000',
  },
}
SCSS
$custom: #282884;
$custom-light: #6f62a9;
$custom-dark: #000000;
JSON
{
  "hex": "#282884",
  "rgb": {
    "r": 40,
    "g": 40,
    "b": 132
  },
  "hsl": {
    "h": 240,
    "s": 53.488,
    "l": 33.725
  },
  "oklch": {
    "l": 0.34422,
    "c": 0.14935,
    "h": 275.2
  },
  "luminance": 0.03635
}

Semantic roles & 50–950 ramp

primary
#282884
secondary
#B2B256
accent
#DD4BDD
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #282884

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

Preview Lab → · Contrast checker → · Palette generator →

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