#282CBD#282CBD

#282CBD is a dark, highly saturated blue. Relative luminance 0.059; OKLCH L 41.0% C 0.217 H 270.6°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#282CBD
RGBrgb(40, 44, 189)
HSLhsl(238, 65%, 45%)
HSVhsv(238, 79%, 74%)
CMYKcmyk(78.8%, 76.7%, 0%, 25.9%)
CIE-LABlab(29.22, 48.42, -74.98)
CIE-LCHlch(29.22, 89.26, 302.85°)
OKLaboklab(41.05% 0.0022 -0.2171)
OKLCHoklch(41.05% 0.217 270.6)
XYZxyz(10.9579, 5.9254, 48.7004)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282CBD #BDB928
analogous
#2877BD #282CBD #6E28BD
triadic
#282CBD #BD282C #2CBD28
tetradic
#282CBD #BD2877 #BDB928 #28BD6E
square
#282CBD #BD2877 #BDB928 #28BD6E
split-complementary
#282CBD #BD6E28 #77BD28
monochromatic
#131458 #1D208A #282CBD #4A4DD9 #7C7FE3

Accessibility & contrast

On white

9.61
#282CBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#282CBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282CBD
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282CBD#FFFFFF#000000##FFFFFF
##282CBD1.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CC1
Deuteranopia (green-blind)
#003DBA
Tritanopia (blue-blind)
#005873
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #282cbd;
/* rgb */ color: rgb(40, 44, 189);
/* oklch */ color: oklch(41.0% 0.217 270.6);
Tailwind
colors: {
  custom: {
    50: '#7d67d2',
    500: '#282cbd',
    950: '#000000',
  },
}
SCSS
$custom: #282cbd;
$custom-light: #7d67d2;
$custom-dark: #000000;
JSON
{
  "hex": "#282cbd",
  "rgb": {
    "r": 40,
    "g": 44,
    "b": 189
  },
  "hsl": {
    "h": 238.389,
    "s": 65.066,
    "l": 44.902
  },
  "oklch": {
    "l": 0.4105,
    "c": 0.21715,
    "h": 270.6
  },
  "luminance": 0.05927
}

Semantic roles & 50–950 ramp

primary
#282CBD
secondary
#CBC975
accent
#E440E8
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #282CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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