#3E309B#3E309B

#3E309B is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.6% C 0.166 H 281.7°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#3E309B
RGBrgb(62, 48, 155)
HSLhsl(248, 53%, 40%)
HSVhsv(248, 69%, 61%)
CMYKcmyk(60%, 69%, 0%, 39.2%)
CIE-LABlab(28.12, 37.35, -56.33)
CIE-LCHlch(28.12, 67.59, 303.55°)
OKLaboklab(39.63% 0.0335 -0.1622)
OKLCHoklch(39.63% 0.166 281.7)
XYZxyz(8.9581, 5.5040, 31.5943)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E309B #8D9B30
analogous
#30589B #3E309B #73309B
triadic
#3E309B #9B3E30 #309B3E
tetradic
#3E309B #9B3058 #8D9B30 #309B73
square
#3E309B #9B3058 #8D9B30 #309B73
split-complementary
#3E309B #9B7330 #589B30
monochromatic
#19133E #2B226C #3E309B #5443C5 #7F72D3

Accessibility & contrast

On white

10.00
#3E309B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#3E309B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E309B
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E309B#FFFFFF#000000##FFFFFF
##3E309B1.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469E
Deuteranopia (green-blind)
#003E99
Tritanopia (blue-blind)
#004C61
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3e309b;
/* rgb */ color: rgb(62, 48, 155);
/* oklch */ color: oklch(39.6% 0.166 281.7);
Tailwind
colors: {
  custom: {
    50: '#7e6ab9',
    500: '#3e309b',
    950: '#000000',
  },
}
SCSS
$custom: #3e309b;
$custom-light: #7e6ab9;
$custom-dark: #000000;
JSON
{
  "hex": "#3e309b",
  "rgb": {
    "r": 62,
    "g": 48,
    "b": 155
  },
  "hsl": {
    "h": 247.85,
    "s": 52.709,
    "l": 39.804
  },
  "oklch": {
    "l": 0.39634,
    "c": 0.16564,
    "h": 281.7
  },
  "luminance": 0.05505
}

Semantic roles & 50–950 ramp

primary
#3E309B
secondary
#B1BB6C
accent
#DC4CC9
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3E309B

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

Preview Lab → · Contrast checker → · Palette generator →

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