#282979#282979

#282979 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.5% C 0.133 H 276.0°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#282979
RGBrgb(40, 41, 121)
HSLhsl(239, 50%, 32%)
HSVhsv(239, 67%, 47%)
CMYKcmyk(66.9%, 66.1%, 0%, 52.5%)
CIE-LABlab(21.64, 26.56, -45.82)
CIE-LCHlch(21.64, 52.96, 300.10°)
OKLaboklab(33.54% 0.0138 -0.1321)
OKLCHoklch(33.54% 0.133 276)
XYZxyz(5.1181, 3.4170, 18.4753)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282979 #797828
analogous
#285279 #282979 #502879
triadic
#282979 #792829 #297928
tetradic
#282979 #792852 #797828 #287950
square
#282979 #792852 #797828 #287950
split-complementary
#282979 #795028 #527928
monochromatic
#0A0A1D #19194B #282979 #3739A7 #5556C7

Accessibility & contrast

On white

12.47
#282979 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#282979 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282979
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282979#FFFFFF#000000##FFFFFF
##2829791.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377C
Deuteranopia (green-blind)
#003077
Tritanopia (blue-blind)
#003D4D
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #282979;
/* rgb */ color: rgb(40, 41, 121);
/* oklch */ color: oklch(33.5% 0.133 276.0);
Tailwind
colors: {
  custom: {
    50: '#6d63a0',
    500: '#282979',
    950: '#000000',
  },
}
SCSS
$custom: #282979;
$custom-light: #6d63a0;
$custom-dark: #000000;
JSON
{
  "hex": "#282979",
  "rgb": {
    "r": 40,
    "g": 41,
    "b": 121
  },
  "hsl": {
    "h": 239.259,
    "s": 50.311,
    "l": 31.569
  },
  "oklch": {
    "l": 0.33538,
    "c": 0.1328,
    "h": 276
  },
  "luminance": 0.03417
}

Semantic roles & 50–950 ramp

primary
#282979
secondary
#ABAA52
accent
#D84EDA
background
#F6F5FA
surface
#ECEAF3
border
#C7C6CD
text
#08050F
muted
#7A797F

Preview Lab

Preview with #282979

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

Preview Lab → · Contrast checker → · Palette generator →

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