#3E27BA#3E27BA

#3E27BA is a dark, highly saturated blue. Relative luminance 0.060; OKLCH L 41.5% C 0.213 H 278.8°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#3E27BA
RGBrgb(62, 39, 186)
HSLhsl(249, 65%, 44%)
HSVhsv(249, 79%, 73%)
CMYKcmyk(66.7%, 79%, 0%, 27.1%)
CIE-LABlab(29.46, 51.86, -72.77)
CIE-LCHlch(29.46, 89.36, 305.48°)
OKLaboklab(41.5% 0.0326 -0.2101)
OKLCHoklch(41.5% 0.213 278.8)
XYZxyz(11.5722, 6.0194, 46.9969)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E27BA #A3BA27
analogous
#275ABA #3E27BA #8827BA
triadic
#3E27BA #BA3E27 #27BA3E
tetradic
#3E27BA #BA275A #A3BA27 #27BA88
square
#3E27BA #BA275A #A3BA27 #27BA88
split-complementary
#3E27BA #BA8827 #5ABA27
monochromatic
#1C1255 #2D1C87 #3E27BA #5D46D8 #8979E3

Accessibility & contrast

On white

9.53
#3E27BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#3E27BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E27BA
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E27BA#FFFFFF#000000##FFFFFF
##3E27BA1.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBE
Deuteranopia (green-blind)
#003FB7
Tritanopia (blue-blind)
#005470
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3e27ba;
/* rgb */ color: rgb(62, 39, 186);
/* oklch */ color: oklch(41.5% 0.213 278.8);
Tailwind
colors: {
  custom: {
    50: '#8566d0',
    500: '#3e27ba',
    950: '#000000',
  },
}
SCSS
$custom: #3e27ba;
$custom-light: #8566d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3e27ba",
  "rgb": {
    "r": 62,
    "g": 39,
    "b": 186
  },
  "hsl": {
    "h": 249.388,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.415,
    "c": 0.21267,
    "h": 278.8
  },
  "luminance": 0.0602
}

Semantic roles & 50–950 ramp

primary
#3E27BA
secondary
#BDCB72
accent
#E840CE
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0D0614
muted
#7D7A83

Preview Lab

Preview with #3E27BA

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

Preview Lab → · Contrast checker → · Palette generator →

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