#282DB1#282DB1

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

Color values

HEX#282DB1
RGBrgb(40, 45, 177)
HSLhsl(238, 63%, 43%)
HSVhsv(238, 77%, 69%)
CMYKcmyk(77.4%, 74.6%, 0%, 30.6%)
CIE-LABlab(28.12, 43.87, -69.68)
CIE-LCHlch(28.12, 82.34, 302.20°)
OKLaboklab(39.88% 0.0039 -0.2018)
OKLCHoklch(39.88% 0.202 271.1)
XYZxyz(9.7466, 5.5011, 42.1346)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282DB1 #B1AC28
analogous
#2872B1 #282DB1 #6728B1
triadic
#282DB1 #B1282D #2DB128
tetradic
#282DB1 #B12872 #B1AC28 #28B167
square
#282DB1 #B12872 #B1AC28 #28B167
split-complementary
#282DB1 #B16728 #72B128
monochromatic
#11144D #1D207F #282DB1 #4247D4 #7478E0

Accessibility & contrast

On white

10.00
#282DB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#282DB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282DB1
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282DB1#FFFFFF#000000##FFFFFF
##282DB11.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #282db1;
/* rgb */ color: rgb(40, 45, 177);
/* oklch */ color: oklch(39.9% 0.202 271.1);
Tailwind
colors: {
  custom: {
    50: '#7a67ca',
    500: '#282db1',
    950: '#000000',
  },
}
SCSS
$custom: #282db1;
$custom-light: #7a67ca;
$custom-dark: #000000;
JSON
{
  "hex": "#282db1",
  "rgb": {
    "r": 40,
    "g": 45,
    "b": 177
  },
  "hsl": {
    "h": 237.81,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.39883,
    "c": 0.20179,
    "h": 271.1
  },
  "luminance": 0.05502
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #282DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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