#3E27B4#3E27B4

#3E27B4 is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 40.9% C 0.206 H 279.6°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#3E27B4
RGBrgb(62, 39, 180)
HSLhsl(250, 64%, 43%)
HSVhsv(250, 78%, 71%)
CMYKcmyk(65.6%, 78.3%, 0%, 29.4%)
CIE-LABlab(28.82, 50.07, -70.25)
CIE-LCHlch(28.82, 86.27, 305.48°)
OKLaboklab(40.87% 0.0343 -0.2028)
OKLCHoklch(40.87% 0.206 279.6)
XYZxyz(10.9477, 5.7696, 43.7079)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E27B4 #9DB427
analogous
#2757B4 #3E27B4 #8427B4
triadic
#3E27B4 #B43E27 #27B43E
tetradic
#3E27B4 #B42757 #9DB427 #27B484
square
#3E27B4 #B42757 #9DB427 #27B484
split-complementary
#3E27B4 #B48427 #57B427
monochromatic
#1B114F #2D1C82 #3E27B4 #5A42D6 #8674E1

Accessibility & contrast

On white

9.75
#3E27B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#3E27B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E27B4
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E27B4#FFFFFF#000000##FFFFFF
##3E27B41.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B8
Deuteranopia (green-blind)
#003EB2
Tritanopia (blue-blind)
#00516D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3e27b4;
/* rgb */ color: rgb(62, 39, 180);
/* oklch */ color: oklch(40.9% 0.206 279.6);
Tailwind
colors: {
  custom: {
    50: '#8465cc',
    500: '#3e27b4',
    950: '#000000',
  },
}
SCSS
$custom: #3e27b4;
$custom-light: #8465cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3e27b4",
  "rgb": {
    "r": 62,
    "g": 39,
    "b": 180
  },
  "hsl": {
    "h": 249.787,
    "s": 64.384,
    "l": 42.941
  },
  "oklch": {
    "l": 0.40867,
    "c": 0.20572,
    "h": 279.6
  },
  "luminance": 0.0577
}

Semantic roles & 50–950 ramp

primary
#3E27B4
secondary
#BAC86F
accent
#E740CC
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #3E27B4

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

Preview Lab → · Contrast checker → · Palette generator →

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