#3E27B7#3E27B7

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

Color values

HEX#3E27B7
RGBrgb(62, 39, 183)
HSLhsl(250, 65%, 44%)
HSVhsv(250, 79%, 72%)
CMYKcmyk(66.1%, 78.7%, 0%, 28.2%)
CIE-LABlab(29.14, 50.97, -71.51)
CIE-LCHlch(29.14, 87.82, 305.48°)
OKLaboklab(41.18% 0.0335 -0.2065)
OKLCHoklch(41.18% 0.209 279.2)
XYZxyz(11.2566, 5.8931, 45.3349)
Luminance0.0589 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E27B7 #A0B727
analogous
#2758B7 #3E27B7 #8627B7
triadic
#3E27B7 #B73E27 #27B73E
tetradic
#3E27B7 #B72758 #A0B727 #27B786
square
#3E27B7 #B72758 #A0B727 #27B786
split-complementary
#3E27B7 #B78627 #58B727
monochromatic
#1C1152 #2D1C85 #3E27B7 #5C44D7 #8876E2

Accessibility & contrast

On white

9.64
#3E27B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E27B7
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E27B7#FFFFFF#000000##FFFFFF
##3E27B71.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e27b7;
/* rgb */ color: rgb(62, 39, 183);
/* oklch */ color: oklch(41.2% 0.209 279.2);
Tailwind
colors: {
  custom: {
    50: '#8465ce',
    500: '#3e27b7',
    950: '#000000',
  },
}
SCSS
$custom: #3e27b7;
$custom-light: #8465ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3e27b7",
  "rgb": {
    "r": 62,
    "g": 39,
    "b": 183
  },
  "hsl": {
    "h": 249.583,
    "s": 64.865,
    "l": 43.529
  },
  "oklch": {
    "l": 0.41183,
    "c": 0.2092,
    "h": 279.2
  },
  "luminance": 0.05894
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3E27B7

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

Preview Lab → · Contrast checker → · Palette generator →

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