#282482#282482

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

Color values

HEX#282482
RGBrgb(40, 36, 130)
HSLhsl(243, 57%, 33%)
HSVhsv(243, 72%, 51%)
CMYKcmyk(69.2%, 72.3%, 0%, 49%)
CIE-LABlab(21.30, 33.03, -52.09)
CIE-LCHlch(21.30, 61.68, 302.37°)
OKLaboklab(33.55% 0.0167 -0.1505)
OKLCHoklch(33.55% 0.151 276.3)
XYZxyz(5.5339, 3.3241, 21.4647)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282482 #7E8224
analogous
#244F82 #282482 #572482
triadic
#282482 #822824 #248228
tetradic
#282482 #82244F #7E8224 #248257
square
#282482 #82244F #7E8224 #248257
split-complementary
#282482 #825724 #4F8224
monochromatic
#0B0922 #191752 #282482 #3731B2 #5751CF

Accessibility & contrast

On white

12.61
#282482 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282482
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282482#FFFFFF#000000##FFFFFF
##2824821.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003785
Deuteranopia (green-blind)
#002F80
Tritanopia (blue-blind)
#003E50
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #282482;
/* rgb */ color: rgb(40, 36, 130);
/* oklch */ color: oklch(33.6% 0.151 276.3);
Tailwind
colors: {
  custom: {
    50: '#6f60a7',
    500: '#282482',
    950: '#000000',
  },
}
SCSS
$custom: #282482;
$custom-light: #6f60a7;
$custom-dark: #000000;
JSON
{
  "hex": "#282482",
  "rgb": {
    "r": 40,
    "g": 36,
    "b": 130
  },
  "hsl": {
    "h": 242.553,
    "s": 56.627,
    "l": 32.549
  },
  "oklch": {
    "l": 0.33551,
    "c": 0.15138,
    "h": 276.3
  },
  "luminance": 0.03325
}

Semantic roles & 50–950 ramp

primary
#282482
secondary
#AFB34F
accent
#E048D9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #282482

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

Preview Lab → · Contrast checker → · Palette generator →

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