#282880#282880

#282880 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.0% C 0.144 H 275.6°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#282880
RGBrgb(40, 40, 128)
HSLhsl(240, 52%, 33%)
HSVhsv(240, 69%, 50%)
CMYKcmyk(68.8%, 68.8%, 0%, 49.8%)
CIE-LABlab(22.04, 29.76, -49.61)
CIE-LCHlch(22.04, 57.86, 300.96°)
OKLaboklab(34.03% 0.014 -0.1432)
OKLCHoklch(34.03% 0.144 275.6)
XYZxyz(5.5289, 3.5267, 20.8073)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282880 #808028
analogous
#285480 #282880 #542880
triadic
#282880 #802828 #288028
tetradic
#282880 #802854 #808028 #288054
square
#282880 #802854 #808028 #288054
split-complementary
#282880 #805428 #548028
monochromatic
#0B0B23 #191951 #282880 #3737AF #5858CB

Accessibility & contrast

On white

12.31
#282880 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#282880 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282880
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282880#FFFFFF#000000##FFFFFF
##2828801.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #282880;
/* rgb */ color: rgb(40, 40, 128);
/* oklch */ color: oklch(34.0% 0.144 275.6);
Tailwind
colors: {
  custom: {
    50: '#6e62a6',
    500: '#282880',
    950: '#000000',
  },
}
SCSS
$custom: #282880;
$custom-light: #6e62a6;
$custom-dark: #000000;
JSON
{
  "hex": "#282880",
  "rgb": {
    "r": 40,
    "g": 40,
    "b": 128
  },
  "hsl": {
    "h": 240,
    "s": 52.381,
    "l": 32.941
  },
  "oklch": {
    "l": 0.34028,
    "c": 0.14387,
    "h": 275.6
  },
  "luminance": 0.03527
}

Semantic roles & 50–950 ramp

primary
#282880
secondary
#B0B054
accent
#DC4CDC
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#08050F
muted
#7B797F

Preview Lab

Preview with #282880

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

Preview Lab → · Contrast checker → · Palette generator →

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