#3E28B1#3E28B1

#3E28B1 is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 40.7% C 0.201 H 279.9°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#3E28B1
RGBrgb(62, 40, 177)
HSLhsl(250, 63%, 43%)
HSVhsv(250, 77%, 69%)
CMYKcmyk(65%, 77.4%, 0%, 30.6%)
CIE-LABlab(28.68, 48.67, -68.70)
CIE-LCHlch(28.68, 84.19, 305.32°)
OKLaboklab(40.67% 0.0345 -0.1983)
OKLCHoklch(40.67% 0.201 279.9)
XYZxyz(10.6787, 5.7152, 42.1269)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E28B1 #9BB128
analogous
#2856B1 #3E28B1 #8228B1
triadic
#3E28B1 #B13E28 #28B13E
tetradic
#3E28B1 #B12856 #9BB128 #28B182
square
#3E28B1 #B12856 #9BB128 #28B182
split-complementary
#3E28B1 #B18228 #56B128
monochromatic
#1B114D #2D1D7F #3E28B1 #5942D4 #8574E0

Accessibility & contrast

On white

9.80
#3E28B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#3E28B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E28B1
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E28B1#FFFFFF#000000##FFFFFF
##3E28B11.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B5
Deuteranopia (green-blind)
#003EAF
Tritanopia (blue-blind)
#00506C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3e28b1;
/* rgb */ color: rgb(62, 40, 177);
/* oklch */ color: oklch(40.7% 0.201 279.9);
Tailwind
colors: {
  custom: {
    50: '#8366ca',
    500: '#3e28b1',
    950: '#000000',
  },
}
SCSS
$custom: #3e28b1;
$custom-light: #8366ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3e28b1",
  "rgb": {
    "r": 62,
    "g": 40,
    "b": 177
  },
  "hsl": {
    "h": 249.635,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.40675,
    "c": 0.2013,
    "h": 279.9
  },
  "luminance": 0.05716
}

Semantic roles & 50–950 ramp

primary
#3E28B1
secondary
#B9C76E
accent
#E642CC
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3E28B1

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

Preview Lab → · Contrast checker → · Palette generator →

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