#3E309F#3E309F

#3E309F is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.0% C 0.171 H 281.1°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#3E309F
RGBrgb(62, 48, 159)
HSLhsl(248, 54%, 41%)
HSVhsv(248, 70%, 62%)
CMYKcmyk(61%, 69.8%, 0%, 37.6%)
CIE-LABlab(28.49, 38.64, -58.17)
CIE-LCHlch(28.49, 69.84, 303.60°)
OKLaboklab(40.01% 0.0329 -0.1676)
OKLCHoklch(40.01% 0.171 281.1)
XYZxyz(9.2996, 5.6406, 33.3929)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E309F #919F30
analogous
#30599F #3E309F #76309F
triadic
#3E309F #9F3E30 #309F3E
tetradic
#3E309F #9F3059 #919F30 #309F76
square
#3E309F #9F3059 #919F30 #309F76
split-complementary
#3E309F #9F7630 #599F30
monochromatic
#191441 #2C2270 #3E309F #5645C7 #8074D5

Accessibility & contrast

On white

9.87
#3E309F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#3E309F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E309F
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E309F#FFFFFF#000000##FFFFFF
##3E309F1.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e309f;
/* rgb */ color: rgb(62, 48, 159);
/* oklch */ color: oklch(40.0% 0.171 281.1);
Tailwind
colors: {
  custom: {
    50: '#7f6abc',
    500: '#3e309f',
    950: '#000000',
  },
}
SCSS
$custom: #3e309f;
$custom-light: #7f6abc;
$custom-dark: #000000;
JSON
{
  "hex": "#3e309f",
  "rgb": {
    "r": 62,
    "g": 48,
    "b": 159
  },
  "hsl": {
    "h": 247.568,
    "s": 53.623,
    "l": 40.588
  },
  "oklch": {
    "l": 0.40006,
    "c": 0.1708,
    "h": 281.1
  },
  "luminance": 0.05641
}

Semantic roles & 50–950 ramp

primary
#3E309F
secondary
#B3BD6E
accent
#DD4BCB
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3E309F

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

Preview Lab → · Contrast checker → · Palette generator →

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