#282DB2#282DB2

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

Color values

HEX#282DB2
RGBrgb(40, 45, 178)
HSLhsl(238, 63%, 43%)
HSVhsv(238, 78%, 70%)
CMYKcmyk(77.5%, 74.7%, 0%, 30.2%)
CIE-LABlab(28.22, 44.21, -70.10)
CIE-LCHlch(28.22, 82.88, 302.24°)
OKLaboklab(39.99% 0.0038 -0.203)
OKLCHoklch(39.99% 0.203 271.1)
XYZxyz(9.8466, 5.5412, 42.6615)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282DB2 #B2AD28
analogous
#2872B2 #282DB2 #6828B2
triadic
#282DB2 #B2282D #2DB228
tetradic
#282DB2 #B22872 #B2AD28 #28B268
square
#282DB2 #B22872 #B2AD28 #28B268
split-complementary
#282DB2 #B26828 #72B228
monochromatic
#12144E #1D2080 #282DB2 #4348D5 #7578E0

Accessibility & contrast

On white

9.96
#282DB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282DB2
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282DB2#FFFFFF#000000##FFFFFF
##282DB21.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B6
Deuteranopia (green-blind)
#003CB0
Tritanopia (blue-blind)
#00546D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #282db2;
/* rgb */ color: rgb(40, 45, 178);
/* oklch */ color: oklch(40.0% 0.203 271.1);
Tailwind
colors: {
  custom: {
    50: '#7a67ca',
    500: '#282db2',
    950: '#000000',
  },
}
SCSS
$custom: #282db2;
$custom-light: #7a67ca;
$custom-dark: #000000;
JSON
{
  "hex": "#282db2",
  "rgb": {
    "r": 40,
    "g": 45,
    "b": 178
  },
  "hsl": {
    "h": 237.826,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.3999,
    "c": 0.20301,
    "h": 271.1
  },
  "luminance": 0.05542
}

Semantic roles & 50–950 ramp

primary
#282DB2
secondary
#C7C46F
accent
#E041E6
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #282DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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