#3E30C3#3E30C3

#3E30C3 is a dark, highly saturated blue. Relative luminance 0.071; OKLCH L 43.5% C 0.215 H 276.9°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#3E30C3
RGBrgb(62, 48, 195)
HSLhsl(246, 60%, 48%)
HSVhsv(246, 75%, 76%)
CMYKcmyk(68.2%, 75.4%, 0%, 23.5%)
CIE-LABlab(31.98, 50.07, -73.91)
CIE-LCHlch(31.98, 89.28, 304.12°)
OKLaboklab(43.55% 0.0257 -0.2136)
OKLCHoklch(43.55% 0.215 276.9)
XYZxyz(12.8907, 7.0770, 52.3058)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E30C3 #B5C330
analogous
#306CC3 #3E30C3 #8730C3
triadic
#3E30C3 #C33E30 #30C33E
tetradic
#3E30C3 #C3306C #B5C330 #30C387
square
#3E30C3 #C3306C #B5C330 #30C387
split-complementary
#3E30C3 #C38730 #6CC330
monochromatic
#1F1861 #2E2492 #3E30C3 #665AD6 #938BE2

Accessibility & contrast

On white

8.69
#3E30C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E30C3
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E30C3#FFFFFF#000000##FFFFFF
##3E30C31.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C7
Deuteranopia (green-blind)
#0045C0
Tritanopia (blue-blind)
#005B78
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3e30c3;
/* rgb */ color: rgb(62, 48, 195);
/* oklch */ color: oklch(43.5% 0.215 276.9);
Tailwind
colors: {
  custom: {
    50: '#866bd6',
    500: '#3e30c3',
    950: '#000000',
  },
}
SCSS
$custom: #3e30c3;
$custom-light: #866bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#3e30c3",
  "rgb": {
    "r": 62,
    "g": 48,
    "b": 195
  },
  "hsl": {
    "h": 245.714,
    "s": 60.494,
    "l": 47.647
  },
  "oklch": {
    "l": 0.43545,
    "c": 0.21512,
    "h": 276.9
  },
  "luminance": 0.07078
}

Semantic roles & 50–950 ramp

primary
#3E30C3
secondary
#C5CC82
accent
#E444D4
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #3E30C3

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

Preview Lab → · Contrast checker → · Palette generator →

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