#3E30C6#3E30C6

#3E30C6 is a dark, highly saturated blue. Relative luminance 0.072; OKLCH L 43.9% C 0.219 H 276.6°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#3E30C6
RGBrgb(62, 48, 198)
HSLhsl(246, 61%, 48%)
HSVhsv(246, 76%, 78%)
CMYKcmyk(68.7%, 75.8%, 0%, 22.4%)
CIE-LABlab(32.29, 51.00, -75.16)
CIE-LCHlch(32.29, 90.83, 304.16°)
OKLaboklab(43.85% 0.0251 -0.2172)
OKLCHoklch(43.85% 0.219 276.6)
XYZxyz(13.2333, 7.2141, 54.1102)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E30C6 #B8C630
analogous
#306DC6 #3E30C6 #8930C6
triadic
#3E30C6 #C63E30 #30C63E
tetradic
#3E30C6 #C6306D #B8C630 #30C689
square
#3E30C6 #C6306D #B8C630 #30C689
split-complementary
#3E30C6 #C68930 #6DC630
monochromatic
#1F1863 #2F2495 #3E30C6 #675CD7 #958DE3

Accessibility & contrast

On white

8.60
#3E30C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#3E30C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E30C6
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E30C6#FFFFFF#000000##FFFFFF
##3E30C61.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052CA
Deuteranopia (green-blind)
#0045C3
Tritanopia (blue-blind)
#005C79
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3e30c6;
/* rgb */ color: rgb(62, 48, 198);
/* oklch */ color: oklch(43.9% 0.219 276.6);
Tailwind
colors: {
  custom: {
    50: '#866bd9',
    500: '#3e30c6',
    950: '#000000',
  },
}
SCSS
$custom: #3e30c6;
$custom-light: #866bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#3e30c6",
  "rgb": {
    "r": 62,
    "g": 48,
    "b": 198
  },
  "hsl": {
    "h": 245.6,
    "s": 60.976,
    "l": 48.235
  },
  "oklch": {
    "l": 0.43853,
    "c": 0.21866,
    "h": 276.6
  },
  "luminance": 0.07215
}

Semantic roles & 50–950 ramp

primary
#3E30C6
secondary
#C7CE84
accent
#E444D5
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #3E30C6

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

Preview Lab → · Contrast checker → · Palette generator →

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