#282CB4#282CB4

#282CB4 is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 40.1% C 0.206 H 271.1°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#282CB4
RGBrgb(40, 44, 180)
HSLhsl(238, 64%, 43%)
HSVhsv(238, 78%, 71%)
CMYKcmyk(77.8%, 75.6%, 0%, 29.4%)
CIE-LABlab(28.24, 45.45, -71.27)
CIE-LCHlch(28.24, 84.53, 302.52°)
OKLaboklab(40.06% 0.0038 -0.2064)
OKLCHoklch(40.06% 0.206 271.1)
XYZxyz(10.0112, 5.5467, 43.7142)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282CB4 #B4B028
analogous
#2872B4 #282CB4 #6A28B4
triadic
#282CB4 #B4282C #2CB428
tetradic
#282CB4 #B42872 #B4B028 #28B46A
square
#282CB4 #B42872 #B4B028 #28B46A
split-complementary
#282CB4 #B46A28 #72B428
monochromatic
#121450 #1D2082 #282CB4 #4448D5 #7679E1

Accessibility & contrast

On white

9.95
#282CB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282CB4
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282CB4#FFFFFF#000000##FFFFFF
##282CB41.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B8
Deuteranopia (green-blind)
#003CB2
Tritanopia (blue-blind)
#00546E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #282cb4;
/* rgb */ color: rgb(40, 44, 180);
/* oklch */ color: oklch(40.1% 0.206 271.1);
Tailwind
colors: {
  custom: {
    50: '#7b67cc',
    500: '#282cb4',
    950: '#000000',
  },
}
SCSS
$custom: #282cb4;
$custom-light: #7b67cc;
$custom-dark: #000000;
JSON
{
  "hex": "#282cb4",
  "rgb": {
    "r": 40,
    "g": 44,
    "b": 180
  },
  "hsl": {
    "h": 238.286,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.40064,
    "c": 0.20641,
    "h": 271.1
  },
  "luminance": 0.05548
}

Semantic roles & 50–950 ramp

primary
#282CB4
secondary
#C8C670
accent
#E241E7
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #282CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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