#282D79#282D79

#282D79 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.3% C 0.127 H 274.6°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#282D79
RGBrgb(40, 45, 121)
HSLhsl(236, 50%, 32%)
HSVhsv(236, 67%, 47%)
CMYKcmyk(66.9%, 62.8%, 0%, 52.5%)
CIE-LABlab(22.68, 23.85, -44.13)
CIE-LCHlch(22.68, 50.16, 298.39°)
OKLaboklab(34.3% 0.0102 -0.1271)
OKLCHoklch(34.3% 0.127 274.6)
XYZxyz(5.2635, 3.7079, 18.5238)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282D79 #797428
analogous
#285679 #282D79 #4C2879
triadic
#282D79 #79282D #2D7928
tetradic
#282D79 #792856 #797428 #28794C
square
#282D79 #792856 #797428 #28794C
split-complementary
#282D79 #794C28 #567928
monochromatic
#0A0B1D #191C4B #282D79 #373EA7 #555CC7

Accessibility & contrast

On white

12.06
#282D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#282D79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282D79
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282D79#FFFFFF#000000##FFFFFF
##282D791.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7B
Deuteranopia (green-blind)
#003377
Tritanopia (blue-blind)
#00404E
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #282d79;
/* rgb */ color: rgb(40, 45, 121);
/* oklch */ color: oklch(34.3% 0.127 274.6);
Tailwind
colors: {
  custom: {
    50: '#6c66a0',
    500: '#282d79',
    950: '#000000',
  },
}
SCSS
$custom: #282d79;
$custom-light: #6c66a0;
$custom-dark: #000000;
JSON
{
  "hex": "#282d79",
  "rgb": {
    "r": 40,
    "g": 45,
    "b": 121
  },
  "hsl": {
    "h": 236.296,
    "s": 50.311,
    "l": 31.569
  },
  "oklch": {
    "l": 0.34301,
    "c": 0.12748,
    "h": 274.6
  },
  "luminance": 0.03708
}

Semantic roles & 50–950 ramp

primary
#282D79
secondary
#ABA552
accent
#D14EDA
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08050F
muted
#7A7A7E

Preview Lab

Preview with #282D79

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

Preview Lab → · Contrast checker → · Palette generator →

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