#3E30C4#3E30C4

#3E30C4 is a dark, highly saturated blue. Relative luminance 0.071; OKLCH L 43.6% C 0.216 H 276.8°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#3E30C4
RGBrgb(62, 48, 196)
HSLhsl(246, 61%, 48%)
HSVhsv(246, 76%, 77%)
CMYKcmyk(68.4%, 75.5%, 0%, 23.1%)
CIE-LABlab(32.08, 50.38, -74.33)
CIE-LCHlch(32.08, 89.79, 304.13°)
OKLaboklab(43.65% 0.0255 -0.2148)
OKLCHoklch(43.65% 0.216 276.8)
XYZxyz(13.0041, 7.1224, 52.9033)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E30C4 #B6C430
analogous
#306CC4 #3E30C4 #8830C4
triadic
#3E30C4 #C43E30 #30C43E
tetradic
#3E30C4 #C4306C #B6C430 #30C488
square
#3E30C4 #C4306C #B6C430 #30C488
split-complementary
#3E30C4 #C48830 #6CC430
monochromatic
#1F1862 #2E2493 #3E30C4 #665AD7 #948CE3

Accessibility & contrast

On white

8.66
#3E30C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#3E30C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E30C4
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E30C4#FFFFFF#000000##FFFFFF
##3E30C41.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C8
Deuteranopia (green-blind)
#0045C1
Tritanopia (blue-blind)
#005B78
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3e30c4;
/* rgb */ color: rgb(62, 48, 196);
/* oklch */ color: oklch(43.6% 0.216 276.8);
Tailwind
colors: {
  custom: {
    50: '#866bd7',
    500: '#3e30c4',
    950: '#000000',
  },
}
SCSS
$custom: #3e30c4;
$custom-light: #866bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#3e30c4",
  "rgb": {
    "r": 62,
    "g": 48,
    "b": 196
  },
  "hsl": {
    "h": 245.676,
    "s": 60.656,
    "l": 47.843
  },
  "oklch": {
    "l": 0.43647,
    "c": 0.21631,
    "h": 276.8
  },
  "luminance": 0.07124
}

Semantic roles & 50–950 ramp

primary
#3E30C4
secondary
#C6CD83
accent
#E444D5
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #3E30C4

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

Preview Lab → · Contrast checker → · Palette generator →

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