#3E309E#3E309E

#3E309E is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.9% C 0.170 H 281.2°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#3E309E
RGBrgb(62, 48, 158)
HSLhsl(248, 53%, 40%)
HSVhsv(248, 70%, 62%)
CMYKcmyk(60.8%, 69.6%, 0%, 38%)
CIE-LABlab(28.40, 38.32, -57.71)
CIE-LCHlch(28.40, 69.28, 303.58°)
OKLaboklab(39.91% 0.033 -0.1663)
OKLCHoklch(39.91% 0.17 281.2)
XYZxyz(9.2132, 5.6060, 32.9377)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E309E #909E30
analogous
#30599E #3E309E #75309E
triadic
#3E309E #9E3E30 #309E3E
tetradic
#3E309E #9E3059 #909E30 #309E75
square
#3E309E #9E3059 #909E30 #309E75
split-complementary
#3E309E #9E7530 #599E30
monochromatic
#191340 #2C226F #3E309E #5545C6 #8074D5

Accessibility & contrast

On white

9.90
#3E309E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#3E309E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E309E
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E309E#FFFFFF#000000##FFFFFF
##3E309E1.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A1
Deuteranopia (green-blind)
#003F9C
Tritanopia (blue-blind)
#004D63
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3e309e;
/* rgb */ color: rgb(62, 48, 158);
/* oklch */ color: oklch(39.9% 0.170 281.2);
Tailwind
colors: {
  custom: {
    50: '#7e6abc',
    500: '#3e309e',
    950: '#000000',
  },
}
SCSS
$custom: #3e309e;
$custom-light: #7e6abc;
$custom-dark: #000000;
JSON
{
  "hex": "#3e309e",
  "rgb": {
    "r": 62,
    "g": 48,
    "b": 158
  },
  "hsl": {
    "h": 247.636,
    "s": 53.398,
    "l": 40.392
  },
  "oklch": {
    "l": 0.39912,
    "c": 0.16951,
    "h": 281.2
  },
  "luminance": 0.05607
}

Semantic roles & 50–950 ramp

primary
#3E309E
secondary
#B2BD6D
accent
#DD4BCA
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3E309E

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

Preview Lab → · Contrast checker → · Palette generator →

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