#3E28BC#3E28BC

#3E28BC is a dark, highly saturated blue. Relative luminance 0.062; OKLCH L 41.8% C 0.214 H 278.5°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#3E28BC
RGBrgb(62, 40, 188)
HSLhsl(249, 65%, 45%)
HSVhsv(249, 79%, 74%)
CMYKcmyk(67%, 78.7%, 0%, 26.3%)
CIE-LABlab(29.84, 51.98, -73.32)
CIE-LCHlch(29.84, 89.88, 305.33°)
OKLaboklab(41.83% 0.0316 -0.2118)
OKLCHoklch(41.83% 0.214 278.5)
XYZxyz(11.8196, 6.1715, 48.1356)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E28BC #A6BC28
analogous
#285CBC #3E28BC #8828BC
triadic
#3E28BC #BC3E28 #28BC3E
tetradic
#3E28BC #BC285C #A6BC28 #28BC88
square
#3E28BC #BC285C #A6BC28 #28BC88
split-complementary
#3E28BC #BC8828 #5CBC28
monochromatic
#1D1357 #2D1D8A #3E28BC #5E49D8 #8B7BE3

Accessibility & contrast

On white

9.40
#3E28BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#3E28BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E28BC
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E28BC#FFFFFF#000000##FFFFFF
##3E28BC1.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CC0
Deuteranopia (green-blind)
#0040B9
Tritanopia (blue-blind)
#005572
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3e28bc;
/* rgb */ color: rgb(62, 40, 188);
/* oklch */ color: oklch(41.8% 0.214 278.5);
Tailwind
colors: {
  custom: {
    50: '#8566d2',
    500: '#3e28bc',
    950: '#000000',
  },
}
SCSS
$custom: #3e28bc;
$custom-light: #8566d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3e28bc",
  "rgb": {
    "r": 62,
    "g": 40,
    "b": 188
  },
  "hsl": {
    "h": 248.919,
    "s": 64.912,
    "l": 44.706
  },
  "oklch": {
    "l": 0.41828,
    "c": 0.21412,
    "h": 278.5
  },
  "luminance": 0.06173
}

Semantic roles & 50–950 ramp

primary
#3E28BC
secondary
#BECB75
accent
#E840CF
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0D0614
muted
#7D7A83

Preview Lab

Preview with #3E28BC

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

Preview Lab → · Contrast checker → · Palette generator →

#3E28BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva