#282580#282580

#282580 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.5% C 0.148 H 276.3°. Best body text is #FFFFFF at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#282580
RGBrgb(40, 37, 128)
HSLhsl(242, 55%, 32%)
HSVhsv(242, 71%, 50%)
CMYKcmyk(68.8%, 71.1%, 0%, 49.8%)
CIE-LABlab(21.33, 31.69, -50.78)
CIE-LCHlch(21.33, 59.86, 301.97°)
OKLaboklab(33.51% 0.0163 -0.1466)
OKLCHoklch(33.51% 0.148 276.3)
XYZxyz(5.4316, 3.3323, 20.7748)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282580 #7D8025
analogous
#255080 #282580 #562580
triadic
#282580 #802825 #258028
tetradic
#282580 #802550 #7D8025 #258056
square
#282580 #802550 #7D8025 #258056
split-complementary
#282580 #805625 #508025
monochromatic
#0A0A21 #191751 #282580 #3733AF #5652CD

Accessibility & contrast

On white

12.60
#282580 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#282580 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282580
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282580#FFFFFF#000000##FFFFFF
##2825801.0012.601.6712.60
#FFFFFF12.601.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003783
Deuteranopia (green-blind)
#002F7E
Tritanopia (blue-blind)
#003E4F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #282580;
/* rgb */ color: rgb(40, 37, 128);
/* oklch */ color: oklch(33.5% 0.148 276.3);
Tailwind
colors: {
  custom: {
    50: '#6f60a6',
    500: '#282580',
    950: '#000000',
  },
}
SCSS
$custom: #282580;
$custom-light: #6f60a6;
$custom-dark: #000000;
JSON
{
  "hex": "#282580",
  "rgb": {
    "r": 40,
    "g": 37,
    "b": 128
  },
  "hsl": {
    "h": 241.978,
    "s": 55.152,
    "l": 32.353
  },
  "oklch": {
    "l": 0.33513,
    "c": 0.14752,
    "h": 276.3
  },
  "luminance": 0.03333
}

Semantic roles & 50–950 ramp

primary
#282580
secondary
#AEB150
accent
#DE49DA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08050F
muted
#7B797F

Preview Lab

Preview with #282580

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

Preview Lab → · Contrast checker → · Palette generator →

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