#282DB4#282DB4

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

Color values

HEX#282DB4
RGBrgb(40, 45, 180)
HSLhsl(238, 64%, 43%)
HSVhsv(238, 78%, 71%)
CMYKcmyk(77.8%, 75%, 0%, 29.4%)
CIE-LABlab(28.44, 44.88, -70.94)
CIE-LCHlch(28.44, 83.94, 302.32°)
OKLaboklab(40.21% 0.0034 -0.2054)
OKLCHoklch(40.21% 0.205 271)
XYZxyz(10.0489, 5.6221, 43.7267)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282DB4 #B4AF28
analogous
#2873B4 #282DB4 #6928B4
triadic
#282DB4 #B4282D #2DB428
tetradic
#282DB4 #B42873 #B4AF28 #28B469
square
#282DB4 #B42873 #B4AF28 #28B469
split-complementary
#282DB4 #B46928 #73B428
monochromatic
#121450 #1D2082 #282DB4 #4449D5 #767AE1

Accessibility & contrast

On white

9.88
#282DB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#282DB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282DB4
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282DB4#FFFFFF#000000##FFFFFF
##282DB41.009.882.129.88
#FFFFFF9.881.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB8
Deuteranopia (green-blind)
#003CB2
Tritanopia (blue-blind)
#00556E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #282db4;
/* rgb */ color: rgb(40, 45, 180);
/* oklch */ color: oklch(40.2% 0.205 271.0);
Tailwind
colors: {
  custom: {
    50: '#7b68cc',
    500: '#282db4',
    950: '#000000',
  },
}
SCSS
$custom: #282db4;
$custom-light: #7b68cc;
$custom-dark: #000000;
JSON
{
  "hex": "#282db4",
  "rgb": {
    "r": 40,
    "g": 45,
    "b": 180
  },
  "hsl": {
    "h": 237.857,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.40206,
    "c": 0.20545,
    "h": 271
  },
  "luminance": 0.05623
}

Semantic roles & 50–950 ramp

primary
#282DB4
secondary
#C8C570
accent
#E141E7
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #282DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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