#282684#282684

#282684 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.1% C 0.152 H 275.7°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#282684
RGBrgb(40, 38, 132)
HSLhsl(241, 55%, 33%)
HSVhsv(241, 71%, 52%)
CMYKcmyk(69.7%, 71.2%, 0%, 48.2%)
CIE-LABlab(21.95, 32.48, -52.27)
CIE-LCHlch(21.95, 61.54, 301.85°)
OKLaboklab(34.08% 0.015 -0.151)
OKLCHoklch(34.08% 0.152 275.7)
XYZxyz(5.7317, 3.5028, 22.1994)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282684 #828426
analogous
#265384 #282684 #572684
triadic
#282684 #842826 #268428
tetradic
#282684 #842653 #828426 #268457
square
#282684 #842653 #828426 #268457
split-complementary
#282684 #845726 #538426
monochromatic
#0B0B25 #1A1854 #282684 #3634B4 #5956CE

Accessibility & contrast

On white

12.35
#282684 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#282684 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282684
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282684#FFFFFF#000000##FFFFFF
##2826841.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003987
Deuteranopia (green-blind)
#003082
Tritanopia (blue-blind)
#003F52
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #282684;
/* rgb */ color: rgb(40, 38, 132);
/* oklch */ color: oklch(34.1% 0.152 275.7);
Tailwind
colors: {
  custom: {
    50: '#7061a9',
    500: '#282684',
    950: '#000000',
  },
}
SCSS
$custom: #282684;
$custom-light: #7061a9;
$custom-dark: #000000;
JSON
{
  "hex": "#282684",
  "rgb": {
    "r": 40,
    "g": 38,
    "b": 132
  },
  "hsl": {
    "h": 241.277,
    "s": 55.294,
    "l": 33.333
  },
  "oklch": {
    "l": 0.34083,
    "c": 0.15173,
    "h": 275.7
  },
  "luminance": 0.03503
}

Semantic roles & 50–950 ramp

primary
#282684
secondary
#B1B353
accent
#DF49DB
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #282684

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

Preview Lab → · Contrast checker → · Palette generator →

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