#282980#282980

#282980 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.2% C 0.143 H 275.3°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#282980
RGBrgb(40, 41, 128)
HSLhsl(239, 52%, 33%)
HSVhsv(239, 69%, 50%)
CMYKcmyk(68.8%, 68%, 0%, 49.8%)
CIE-LABlab(22.28, 29.11, -49.21)
CIE-LCHlch(22.28, 57.18, 300.61°)
OKLaboklab(34.21% 0.0132 -0.142)
OKLCHoklch(34.21% 0.143 275.3)
XYZxyz(5.5630, 3.5950, 20.8186)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282980 #807F28
analogous
#285580 #282980 #532880
triadic
#282980 #802829 #298028
tetradic
#282980 #802855 #807F28 #288053
square
#282980 #802855 #807F28 #288053
split-complementary
#282980 #805328 #558028
monochromatic
#0B0B23 #191A51 #282980 #3738AF #5859CB

Accessibility & contrast

On white

12.21
#282980 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#282980 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282980
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282980#FFFFFF#000000##FFFFFF
##2829801.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003983
Deuteranopia (green-blind)
#00317E
Tritanopia (blue-blind)
#004050
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #282980;
/* rgb */ color: rgb(40, 41, 128);
/* oklch */ color: oklch(34.2% 0.143 275.3);
Tailwind
colors: {
  custom: {
    50: '#6e63a6',
    500: '#282980',
    950: '#000000',
  },
}
SCSS
$custom: #282980;
$custom-light: #6e63a6;
$custom-dark: #000000;
JSON
{
  "hex": "#282980",
  "rgb": {
    "r": 40,
    "g": 41,
    "b": 128
  },
  "hsl": {
    "h": 239.318,
    "s": 52.381,
    "l": 32.941
  },
  "oklch": {
    "l": 0.34205,
    "c": 0.14263,
    "h": 275.3
  },
  "luminance": 0.03596
}

Semantic roles & 50–950 ramp

primary
#282980
secondary
#B0AF54
accent
#DA4CDC
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#08050F
muted
#7B797F

Preview Lab

Preview with #282980

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

Preview Lab → · Contrast checker → · Palette generator →

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