#282AB8#282AB8

#282AB8 is a dark, highly saturated blue. Relative luminance 0.056; OKLCH L 40.2% C 0.213 H 271.0°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#282AB8
RGBrgb(40, 42, 184)
HSLhsl(239, 64%, 44%)
HSVhsv(239, 78%, 72%)
CMYKcmyk(78.3%, 77.2%, 0%, 27.8%)
CIE-LABlab(28.29, 47.87, -73.56)
CIE-LCHlch(28.29, 87.76, 303.05°)
OKLaboklab(40.23% 0.0038 -0.213)
OKLCHoklch(40.23% 0.213 271)
XYZxyz(10.3518, 5.5666, 45.8670)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282AB8 #B8B628
analogous
#2872B8 #282AB8 #6E28B8
triadic
#282AB8 #B8282A #2AB828
tetradic
#282AB8 #B82872 #B8B628 #28B86E
square
#282AB8 #B82872 #B8B628 #28B86E
split-complementary
#282AB8 #B86E28 #72B828
monochromatic
#121353 #1D1F86 #282AB8 #4648D7 #797AE2

Accessibility & contrast

On white

9.94
#282AB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#282AB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282AB8
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282AB8#FFFFFF#000000##FFFFFF
##282AB81.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004ABC
Deuteranopia (green-blind)
#003BB6
Tritanopia (blue-blind)
#005570
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #282ab8;
/* rgb */ color: rgb(40, 42, 184);
/* oklch */ color: oklch(40.2% 0.213 271.0);
Tailwind
colors: {
  custom: {
    50: '#7c66cf',
    500: '#282ab8',
    950: '#000000',
  },
}
SCSS
$custom: #282ab8;
$custom-light: #7c66cf;
$custom-dark: #000000;
JSON
{
  "hex": "#282ab8",
  "rgb": {
    "r": 40,
    "g": 42,
    "b": 184
  },
  "hsl": {
    "h": 239.167,
    "s": 64.286,
    "l": 43.922
  },
  "oklch": {
    "l": 0.40231,
    "c": 0.21303,
    "h": 271
  },
  "luminance": 0.05568
}

Semantic roles & 50–950 ramp

primary
#282AB8
secondary
#CAC872
accent
#E541E7
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #282AB8

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

Preview Lab → · Contrast checker → · Palette generator →

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