#3E28B6#3E28B6

#3E28B6 is a dark, highly saturated blue. Relative luminance 0.059; OKLCH L 41.2% C 0.207 H 279.2°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#3E28B6
RGBrgb(62, 40, 182)
HSLhsl(249, 64%, 44%)
HSVhsv(249, 78%, 71%)
CMYKcmyk(65.9%, 78%, 0%, 28.6%)
CIE-LABlab(29.21, 50.18, -70.81)
CIE-LCHlch(29.21, 86.79, 305.32°)
OKLaboklab(41.2% 0.0332 -0.2045)
OKLCHoklch(41.2% 0.207 279.2)
XYZxyz(11.1862, 5.9182, 44.7997)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E28B6 #A0B628
analogous
#2859B6 #3E28B6 #8528B6
triadic
#3E28B6 #B63E28 #28B63E
tetradic
#3E28B6 #B62859 #A0B628 #28B685
square
#3E28B6 #B62859 #A0B628 #28B685
split-complementary
#3E28B6 #B68528 #59B628
monochromatic
#1C1252 #2D1D84 #3E28B6 #5C45D6 #8877E1

Accessibility & contrast

On white

9.62
#3E28B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#3E28B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E28B6
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E28B6#FFFFFF#000000##FFFFFF
##3E28B61.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004ABA
Deuteranopia (green-blind)
#003FB3
Tritanopia (blue-blind)
#00526E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3e28b6;
/* rgb */ color: rgb(62, 40, 182);
/* oklch */ color: oklch(41.2% 0.207 279.2);
Tailwind
colors: {
  custom: {
    50: '#8466cd',
    500: '#3e28b6',
    950: '#000000',
  },
}
SCSS
$custom: #3e28b6;
$custom-light: #8466cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3e28b6",
  "rgb": {
    "r": 62,
    "g": 40,
    "b": 182
  },
  "hsl": {
    "h": 249.296,
    "s": 63.964,
    "l": 43.529
  },
  "oklch": {
    "l": 0.41196,
    "c": 0.20717,
    "h": 279.2
  },
  "luminance": 0.05919
}

Semantic roles & 50–950 ramp

primary
#3E28B6
secondary
#BBC971
accent
#E741CD
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #3E28B6

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

Preview Lab → · Contrast checker → · Palette generator →

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