#282ABD#282ABD

#282ABD is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 40.8% C 0.219 H 270.7°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#282ABD
RGBrgb(40, 42, 189)
HSLhsl(239, 65%, 45%)
HSVhsv(239, 79%, 74%)
CMYKcmyk(78.8%, 77.8%, 0%, 25.9%)
CIE-LABlab(28.85, 49.49, -75.60)
CIE-LCHlch(28.85, 90.36, 303.21°)
OKLaboklab(40.79% 0.0029 -0.2189)
OKLCHoklch(40.79% 0.219 270.7)
XYZxyz(10.8852, 5.7799, 48.6762)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282ABD #BDBB28
analogous
#2874BD #282ABD #7128BD
triadic
#282ABD #BD282A #2ABD28
tetradic
#282ABD #BD2874 #BDBB28 #28BD71
square
#282ABD #BD2874 #BDBB28 #28BD71
split-complementary
#282ABD #BD7128 #74BD28
monochromatic
#131458 #1D1F8A #282ABD #4A4CD9 #7C7DE3

Accessibility & contrast

On white

9.74
#282ABD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#282ABD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282ABD
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282ABD#FFFFFF#000000##FFFFFF
##282ABD1.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BC1
Deuteranopia (green-blind)
#003CBA
Tritanopia (blue-blind)
#005773
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #282abd;
/* rgb */ color: rgb(40, 42, 189);
/* oklch */ color: oklch(40.8% 0.219 270.7);
Tailwind
colors: {
  custom: {
    50: '#7d66d2',
    500: '#282abd',
    950: '#000000',
  },
}
SCSS
$custom: #282abd;
$custom-light: #7d66d2;
$custom-dark: #000000;
JSON
{
  "hex": "#282abd",
  "rgb": {
    "r": 40,
    "g": 42,
    "b": 189
  },
  "hsl": {
    "h": 239.195,
    "s": 65.066,
    "l": 44.902
  },
  "oklch": {
    "l": 0.40787,
    "c": 0.21893,
    "h": 270.7
  },
  "luminance": 0.05781
}

Semantic roles & 50–950 ramp

primary
#282ABD
secondary
#CBCA75
accent
#E640E8
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #282ABD

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

Preview Lab → · Contrast checker → · Palette generator →

#282ABD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva