#3E30C5#3E30C5

#3E30C5 is a dark, highly saturated blue. Relative luminance 0.072; OKLCH L 43.8% C 0.217 H 276.7°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#3E30C5
RGBrgb(62, 48, 197)
HSLhsl(246, 61%, 48%)
HSVhsv(246, 76%, 77%)
CMYKcmyk(68.5%, 75.6%, 0%, 22.7%)
CIE-LABlab(32.19, 50.69, -74.74)
CIE-LCHlch(32.19, 90.31, 304.15°)
OKLaboklab(43.75% 0.0253 -0.216)
OKLCHoklch(43.75% 0.217 276.7)
XYZxyz(13.1183, 7.1681, 53.5047)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E30C5 #B7C530
analogous
#306CC5 #3E30C5 #8930C5
triadic
#3E30C5 #C53E30 #30C53E
tetradic
#3E30C5 #C5306C #B7C530 #30C589
square
#3E30C5 #C5306C #B7C530 #30C589
split-complementary
#3E30C5 #C58930 #6CC530
monochromatic
#1F1863 #2F2494 #3E30C5 #675BD7 #948CE3

Accessibility & contrast

On white

8.63
#3E30C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#3E30C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E30C5
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E30C5#FFFFFF#000000##FFFFFF
##3E30C51.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e30c5;
/* rgb */ color: rgb(62, 48, 197);
/* oklch */ color: oklch(43.8% 0.217 276.7);
Tailwind
colors: {
  custom: {
    50: '#866bd8',
    500: '#3e30c5',
    950: '#000000',
  },
}
SCSS
$custom: #3e30c5;
$custom-light: #866bd8;
$custom-dark: #000000;
JSON
{
  "hex": "#3e30c5",
  "rgb": {
    "r": 62,
    "g": 48,
    "b": 197
  },
  "hsl": {
    "h": 245.638,
    "s": 60.816,
    "l": 48.039
  },
  "oklch": {
    "l": 0.4375,
    "c": 0.21748,
    "h": 276.7
  },
  "luminance": 0.07169
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3E30C5

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

Preview Lab → · Contrast checker → · Palette generator →

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