#3E28B7#3E28B7

#3E28B7 is a dark, highly saturated blue. Relative luminance 0.060; OKLCH L 41.3% C 0.208 H 279.1°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#3E28B7
RGBrgb(62, 40, 183)
HSLhsl(249, 64%, 44%)
HSVhsv(249, 78%, 72%)
CMYKcmyk(66.1%, 78.1%, 0%, 28.2%)
CIE-LABlab(29.31, 50.48, -71.23)
CIE-LCHlch(29.31, 87.31, 305.32°)
OKLaboklab(41.3% 0.0329 -0.2057)
OKLCHoklch(41.3% 0.208 279.1)
XYZxyz(11.2899, 5.9597, 45.3459)
Luminance0.0596 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E28B7 #A1B728
analogous
#2859B7 #3E28B7 #8528B7
triadic
#3E28B7 #B73E28 #28B73E
tetradic
#3E28B7 #B72859 #A1B728 #28B785
square
#3E28B7 #B72859 #A1B728 #28B785
split-complementary
#3E28B7 #B78528 #59B728
monochromatic
#1C1253 #2D1D85 #3E28B7 #5C46D6 #8878E1

Accessibility & contrast

On white

9.58
#3E28B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#3E28B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E28B7
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E28B7#FFFFFF#000000##FFFFFF
##3E28B71.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004ABB
Deuteranopia (green-blind)
#003FB4
Tritanopia (blue-blind)
#00536F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3e28b7;
/* rgb */ color: rgb(62, 40, 183);
/* oklch */ color: oklch(41.3% 0.208 279.1);
Tailwind
colors: {
  custom: {
    50: '#8466ce',
    500: '#3e28b7',
    950: '#000000',
  },
}
SCSS
$custom: #3e28b7;
$custom-light: #8466ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3e28b7",
  "rgb": {
    "r": 62,
    "g": 40,
    "b": 183
  },
  "hsl": {
    "h": 249.231,
    "s": 64.126,
    "l": 43.725
  },
  "oklch": {
    "l": 0.41301,
    "c": 0.20833,
    "h": 279.1
  },
  "luminance": 0.05961
}

Semantic roles & 50–950 ramp

primary
#3E28B7
secondary
#BCC972
accent
#E741CE
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #3E28B7

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

Preview Lab → · Contrast checker → · Palette generator →

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