#282AB4#282AB4

#282AB4 is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 39.8% C 0.208 H 271.3°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#282AB4
RGBrgb(40, 42, 180)
HSLhsl(239, 64%, 43%)
HSVhsv(239, 78%, 71%)
CMYKcmyk(77.8%, 76.7%, 0%, 29.4%)
CIE-LABlab(27.85, 46.56, -71.91)
CIE-LCHlch(27.85, 85.67, 302.92°)
OKLaboklab(39.79% 0.0046 -0.2082)
OKLCHoklch(39.79% 0.208 271.3)
XYZxyz(9.9385, 5.4012, 43.6899)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282AB4 #B4B228
analogous
#2870B4 #282AB4 #6C28B4
triadic
#282AB4 #B4282A #2AB428
tetradic
#282AB4 #B42870 #B4B228 #28B46C
square
#282AB4 #B42870 #B4B228 #28B46C
split-complementary
#282AB4 #B46C28 #70B428
monochromatic
#121350 #1D1E82 #282AB4 #4446D5 #7677E1

Accessibility & contrast

On white

10.09
#282AB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#282AB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282AB4
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282AB4#FFFFFF#000000##FFFFFF
##282AB41.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B8
Deuteranopia (green-blind)
#003BB2
Tritanopia (blue-blind)
#00536E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #282ab4;
/* rgb */ color: rgb(40, 42, 180);
/* oklch */ color: oklch(39.8% 0.208 271.3);
Tailwind
colors: {
  custom: {
    50: '#7b66cc',
    500: '#282ab4',
    950: '#000000',
  },
}
SCSS
$custom: #282ab4;
$custom-light: #7b66cc;
$custom-dark: #000000;
JSON
{
  "hex": "#282ab4",
  "rgb": {
    "r": 40,
    "g": 42,
    "b": 180
  },
  "hsl": {
    "h": 239.143,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.39788,
    "c": 0.20827,
    "h": 271.3
  },
  "luminance": 0.05402
}

Semantic roles & 50–950 ramp

primary
#282AB4
secondary
#C8C770
accent
#E441E7
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #282AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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