#3E30C1#3E30C1

#3E30C1 is a dark, highly saturated blue. Relative luminance 0.070; OKLCH L 43.3% C 0.213 H 277.1°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#3E30C1
RGBrgb(62, 48, 193)
HSLhsl(246, 60%, 47%)
HSVhsv(246, 75%, 76%)
CMYKcmyk(67.9%, 75.1%, 0%, 24.3%)
CIE-LABlab(31.78, 49.45, -73.07)
CIE-LCHlch(31.78, 88.23, 304.09°)
OKLaboklab(43.34% 0.0262 -0.2111)
OKLCHoklch(43.34% 0.213 277.1)
XYZxyz(12.6661, 6.9872, 51.1229)
Luminance0.0699 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E30C1 #B3C130
analogous
#306BC1 #3E30C1 #8730C1
triadic
#3E30C1 #C13E30 #30C13E
tetradic
#3E30C1 #C1306B #B3C130 #30C187
square
#3E30C1 #C1306B #B3C130 #30C187
split-complementary
#3E30C1 #C18730 #6BC130
monochromatic
#1F185F #2E2490 #3E30C1 #6559D6 #928AE2

Accessibility & contrast

On white

8.76
#3E30C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#3E30C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E30C1
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E30C1#FFFFFF#000000##FFFFFF
##3E30C11.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C5
Deuteranopia (green-blind)
#0044BE
Tritanopia (blue-blind)
#005A76
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3e30c1;
/* rgb */ color: rgb(62, 48, 193);
/* oklch */ color: oklch(43.3% 0.213 277.1);
Tailwind
colors: {
  custom: {
    50: '#856bd5',
    500: '#3e30c1',
    950: '#000000',
  },
}
SCSS
$custom: #3e30c1;
$custom-light: #856bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#3e30c1",
  "rgb": {
    "r": 62,
    "g": 48,
    "b": 193
  },
  "hsl": {
    "h": 245.793,
    "s": 60.166,
    "l": 47.255
  },
  "oklch": {
    "l": 0.4334,
    "c": 0.21276,
    "h": 277.1
  },
  "luminance": 0.06988
}

Semantic roles & 50–950 ramp

primary
#3E30C1
secondary
#C5CC81
accent
#E344D4
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #3E30C1

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

Preview Lab → · Contrast checker → · Palette generator →

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