#3E308F#3E308F

#3E308F is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.6% C 0.150 H 283.6°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#3E308F
RGBrgb(62, 48, 143)
HSLhsl(249, 50%, 37%)
HSVhsv(249, 66%, 56%)
CMYKcmyk(56.6%, 66.4%, 0%, 43.9%)
CIE-LABlab(27.08, 33.45, -50.68)
CIE-LCHlch(27.08, 60.72, 303.43°)
OKLaboklab(38.55% 0.0351 -0.1456)
OKLCHoklch(38.55% 0.15 283.6)
XYZxyz(8.0000, 5.1207, 26.5481)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E308F #818F30
analogous
#30528F #3E308F #6D308F
triadic
#3E308F #8F3E30 #308F3E
tetradic
#3E308F #8F3052 #818F30 #308F6D
square
#3E308F #8F3052 #818F30 #308F6D
split-complementary
#3E308F #8F6D30 #528F30
monochromatic
#161133 #2A2161 #3E308F #523FBD #7A6CCE

Accessibility & contrast

On white

10.37
#3E308F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#3E308F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E308F
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E308F#FFFFFF#000000##FFFFFF
##3E308F1.0010.372.0210.37
#FFFFFF10.371.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004392
Deuteranopia (green-blind)
#003D8D
Tritanopia (blue-blind)
#18485B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3e308f;
/* rgb */ color: rgb(62, 48, 143);
/* oklch */ color: oklch(38.6% 0.150 283.6);
Tailwind
colors: {
  custom: {
    50: '#7c69b1',
    500: '#3e308f',
    950: '#000000',
  },
}
SCSS
$custom: #3e308f;
$custom-light: #7c69b1;
$custom-dark: #000000;
JSON
{
  "hex": "#3e308f",
  "rgb": {
    "r": 62,
    "g": 48,
    "b": 143
  },
  "hsl": {
    "h": 248.842,
    "s": 49.738,
    "l": 37.451
  },
  "oklch": {
    "l": 0.38552,
    "c": 0.1498,
    "h": 283.6
  },
  "luminance": 0.05121
}

Semantic roles & 50–950 ramp

primary
#3E308F
secondary
#A9B566
accent
#D94FC5
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #3E308F

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

Preview Lab → · Contrast checker → · Palette generator →

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