#282D84#282D84

#282D84 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.3% C 0.143 H 273.9°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#282D84
RGBrgb(40, 45, 132)
HSLhsl(237, 53%, 34%)
HSVhsv(237, 70%, 52%)
CMYKcmyk(69.7%, 65.9%, 0%, 48.2%)
CIE-LABlab(23.65, 27.93, -49.50)
CIE-LCHlch(23.65, 56.83, 299.43°)
OKLaboklab(35.31% 0.0097 -0.1428)
OKLCHoklch(35.31% 0.143 273.9)
XYZxyz(5.9769, 3.9933, 22.2811)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282D84 #847F28
analogous
#285B84 #282D84 #512884
triadic
#282D84 #84282D #2D8428
tetradic
#282D84 #84285B #847F28 #288451
square
#282D84 #84285B #847F28 #288451
split-complementary
#282D84 #845128 #5B8428
monochromatic
#0C0D26 #1A1D55 #282D84 #363DB3 #5A60CD

Accessibility & contrast

On white

11.67
#282D84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#282D84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282D84
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282D84#FFFFFF#000000##FFFFFF
##282D841.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D87
Deuteranopia (green-blind)
#003482
Tritanopia (blue-blind)
#004354
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #282d84;
/* rgb */ color: rgb(40, 45, 132);
/* oklch */ color: oklch(35.3% 0.143 273.9);
Tailwind
colors: {
  custom: {
    50: '#6f66a9',
    500: '#282d84',
    950: '#000000',
  },
}
SCSS
$custom: #282d84;
$custom-light: #6f66a9;
$custom-dark: #000000;
JSON
{
  "hex": "#282d84",
  "rgb": {
    "r": 40,
    "g": 45,
    "b": 132
  },
  "hsl": {
    "h": 236.739,
    "s": 53.488,
    "l": 33.725
  },
  "oklch": {
    "l": 0.35314,
    "c": 0.14316,
    "h": 273.9
  },
  "luminance": 0.03994
}

Semantic roles & 50–950 ramp

primary
#282D84
secondary
#B2AD56
accent
#D54BDD
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #282D84

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

Preview Lab → · Contrast checker → · Palette generator →

#282D84 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva