#282AB1#282AB1

#282AB1 is a dark, highly saturated blue. Relative luminance 0.053; OKLCH L 39.5% C 0.205 H 271.4°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#282AB1
RGBrgb(40, 42, 177)
HSLhsl(239, 63%, 43%)
HSVhsv(239, 77%, 69%)
CMYKcmyk(77.4%, 76.3%, 0%, 30.6%)
CIE-LABlab(27.52, 45.56, -70.67)
CIE-LCHlch(27.52, 84.08, 302.81°)
OKLaboklab(39.46% 0.0051 -0.2046)
OKLCHoklch(39.46% 0.205 271.4)
XYZxyz(9.6362, 5.2803, 42.0978)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282AB1 #B1AF28
analogous
#286FB1 #282AB1 #6A28B1
triadic
#282AB1 #B1282A #2AB128
tetradic
#282AB1 #B1286F #B1AF28 #28B16A
square
#282AB1 #B1286F #B1AF28 #28B16A
split-complementary
#282AB1 #B16A28 #6FB128
monochromatic
#11124D #1D1E7F #282AB1 #4244D4 #7475E0

Accessibility & contrast

On white

10.21
#282AB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#282AB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282AB1
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282AB1#FFFFFF#000000##FFFFFF
##282AB11.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B5
Deuteranopia (green-blind)
#003AAF
Tritanopia (blue-blind)
#00526C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #282ab1;
/* rgb */ color: rgb(40, 42, 177);
/* oklch */ color: oklch(39.5% 0.205 271.4);
Tailwind
colors: {
  custom: {
    50: '#7a66ca',
    500: '#282ab1',
    950: '#000000',
  },
}
SCSS
$custom: #282ab1;
$custom-light: #7a66ca;
$custom-dark: #000000;
JSON
{
  "hex": "#282ab1",
  "rgb": {
    "r": 40,
    "g": 42,
    "b": 177
  },
  "hsl": {
    "h": 239.124,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.39459,
    "c": 0.20466,
    "h": 271.4
  },
  "luminance": 0.05281
}

Semantic roles & 50–950 ramp

primary
#282AB1
secondary
#C7C66E
accent
#E442E6
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #282AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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