#282CB1#282CB1

#282CB1 is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 39.7% C 0.203 H 271.2°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#282CB1
RGBrgb(40, 44, 177)
HSLhsl(238, 63%, 43%)
HSVhsv(238, 77%, 69%)
CMYKcmyk(77.4%, 75.1%, 0%, 30.6%)
CIE-LABlab(27.91, 44.44, -70.01)
CIE-LCHlch(27.91, 82.93, 302.41°)
OKLaboklab(39.74% 0.0043 -0.2027)
OKLCHoklch(39.74% 0.203 271.2)
XYZxyz(9.7089, 5.4257, 42.1220)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282CB1 #B1AD28
analogous
#2871B1 #282CB1 #6828B1
triadic
#282CB1 #B1282C #2CB128
tetradic
#282CB1 #B12871 #B1AD28 #28B168
square
#282CB1 #B12871 #B1AD28 #28B168
split-complementary
#282CB1 #B16828 #71B128
monochromatic
#11134D #1D207F #282CB1 #4246D4 #7477E0

Accessibility & contrast

On white

10.07
#282CB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#282CB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282CB1
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282CB1#FFFFFF#000000##FFFFFF
##282CB11.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B5
Deuteranopia (green-blind)
#003BAF
Tritanopia (blue-blind)
#00536C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #282cb1;
/* rgb */ color: rgb(40, 44, 177);
/* oklch */ color: oklch(39.7% 0.203 271.2);
Tailwind
colors: {
  custom: {
    50: '#7a67ca',
    500: '#282cb1',
    950: '#000000',
  },
}
SCSS
$custom: #282cb1;
$custom-light: #7a67ca;
$custom-dark: #000000;
JSON
{
  "hex": "#282cb1",
  "rgb": {
    "r": 40,
    "g": 44,
    "b": 177
  },
  "hsl": {
    "h": 238.248,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.39739,
    "c": 0.20277,
    "h": 271.2
  },
  "luminance": 0.05427
}

Semantic roles & 50–950 ramp

primary
#282CB1
secondary
#C7C46E
accent
#E142E6
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #282CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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