#3E27B6#3E27B6

#3E27B6 is a dark, highly saturated blue. Relative luminance 0.059; OKLCH L 41.1% C 0.208 H 279.3°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#3E27B6
RGBrgb(62, 39, 182)
HSLhsl(250, 65%, 43%)
HSVhsv(250, 79%, 71%)
CMYKcmyk(65.9%, 78.6%, 0%, 28.6%)
CIE-LABlab(29.04, 50.67, -71.09)
CIE-LCHlch(29.04, 87.30, 305.48°)
OKLaboklab(41.08% 0.0338 -0.2053)
OKLCHoklch(41.08% 0.208 279.3)
XYZxyz(11.1529, 5.8517, 44.7886)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E27B6 #9FB627
analogous
#2758B6 #3E27B6 #8527B6
triadic
#3E27B6 #B63E27 #27B63E
tetradic
#3E27B6 #B62758 #9FB627 #27B685
square
#3E27B6 #B62758 #9FB627 #27B685
split-complementary
#3E27B6 #B68527 #58B627
monochromatic
#1C1151 #2D1C84 #3E27B6 #5B43D7 #8776E2

Accessibility & contrast

On white

9.67
#3E27B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#3E27B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E27B6
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E27B6#FFFFFF#000000##FFFFFF
##3E27B61.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e27b6;
/* rgb */ color: rgb(62, 39, 182);
/* oklch */ color: oklch(41.1% 0.208 279.3);
Tailwind
colors: {
  custom: {
    50: '#8465cd',
    500: '#3e27b6',
    950: '#000000',
  },
}
SCSS
$custom: #3e27b6;
$custom-light: #8465cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3e27b6",
  "rgb": {
    "r": 62,
    "g": 39,
    "b": 182
  },
  "hsl": {
    "h": 249.65,
    "s": 64.706,
    "l": 43.333
  },
  "oklch": {
    "l": 0.41077,
    "c": 0.20805,
    "h": 279.3
  },
  "luminance": 0.05853
}

Semantic roles & 50–950 ramp

primary
#3E27B6
secondary
#BBC970
accent
#E840CD
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #3E27B6

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

Preview Lab → · Contrast checker → · Palette generator →

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