#282079#282079

#282079 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.0% C 0.144 H 278.5°. Best body text is #FFFFFF at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#282079
RGBrgb(40, 32, 121)
HSLhsl(245, 58%, 30%)
HSVhsv(245, 74%, 47%)
CMYKcmyk(66.9%, 73.6%, 0%, 52.5%)
CIE-LABlab(19.49, 32.37, -49.35)
CIE-LCHlch(19.49, 59.02, 303.26°)
OKLaboklab(31.98% 0.0212 -0.1424)
OKLCHoklch(31.98% 0.144 278.5)
XYZxyz(4.8417, 2.8642, 18.3832)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282079 #717920
analogous
#204579 #282079 #542079
triadic
#282079 #792820 #207928
tetradic
#282079 #792045 #717920 #207954
square
#282079 #792045 #717920 #207954
split-complementary
#282079 #795420 #457920
monochromatic
#080618 #181349 #282079 #382DA9 #5245CE

Accessibility & contrast

On white

13.35
#282079 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#282079 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282079
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282079#FFFFFF#000000##FFFFFF
##2820791.0013.351.5713.35
#FFFFFF13.351.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337C
Deuteranopia (green-blind)
#002C77
Tritanopia (blue-blind)
#00384A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #282079;
/* rgb */ color: rgb(40, 32, 121);
/* oklch */ color: oklch(32.0% 0.144 278.5);
Tailwind
colors: {
  custom: {
    50: '#6e5da1',
    500: '#282079',
    950: '#000000',
  },
}
SCSS
$custom: #282079;
$custom-light: #6e5da1;
$custom-dark: #000000;
JSON
{
  "hex": "#282079",
  "rgb": {
    "r": 40,
    "g": 32,
    "b": 121
  },
  "hsl": {
    "h": 245.393,
    "s": 58.17,
    "l": 30
  },
  "oklch": {
    "l": 0.31982,
    "c": 0.14399,
    "h": 278.5
  },
  "luminance": 0.02865
}

Semantic roles & 50–950 ramp

primary
#282079
secondary
#A3AC49
accent
#E146D3
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#08040F
muted
#7B797F

Preview Lab

Preview with #282079

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

Preview Lab → · Contrast checker → · Palette generator →

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