#3E348D#3E348D

#3E348D is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.1% C 0.142 H 282.7°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#3E348D
RGBrgb(62, 52, 141)
HSLhsl(247, 46%, 38%)
HSVhsv(247, 63%, 55%)
CMYKcmyk(56%, 63.1%, 0%, 44.7%)
CIE-LABlab(27.85, 30.29, -48.18)
CIE-LCHlch(27.85, 56.91, 302.16°)
OKLaboklab(39.07% 0.0312 -0.1383)
OKLCHoklch(39.07% 0.142 282.7)
XYZxyz(8.0208, 5.4027, 25.8143)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E348D #838D34
analogous
#34568D #3E348D #6B348D
triadic
#3E348D #8D3E34 #348D3E
tetradic
#3E348D #8D3456 #838D34 #348D6B
square
#3E348D #8D3456 #838D34 #348D6B
split-complementary
#3E348D #8D6B34 #568D34
monochromatic
#171334 #2A2460 #3E348D #5244BA #7B71CB

Accessibility & contrast

On white

10.09
#3E348D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#3E348D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E348D
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E348D#FFFFFF#000000##FFFFFF
##3E348D1.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004590
Deuteranopia (green-blind)
#003F8B
Tritanopia (blue-blind)
#1A495B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3e348d;
/* rgb */ color: rgb(62, 52, 141);
/* oklch */ color: oklch(39.1% 0.142 282.7);
Tailwind
colors: {
  custom: {
    50: '#7b6caf',
    500: '#3e348d',
    950: '#000000',
  },
}
SCSS
$custom: #3e348d;
$custom-light: #7b6caf;
$custom-dark: #000000;
JSON
{
  "hex": "#3e348d",
  "rgb": {
    "r": 62,
    "g": 52,
    "b": 141
  },
  "hsl": {
    "h": 246.742,
    "s": 46.114,
    "l": 37.843
  },
  "oklch": {
    "l": 0.39066,
    "c": 0.14174,
    "h": 282.7
  },
  "luminance": 0.05403
}

Semantic roles & 50–950 ramp

primary
#3E348D
secondary
#ABB36A
accent
#D652C7
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0710
muted
#7C7A7F

Preview Lab

Preview with #3E348D

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

Preview Lab → · Contrast checker → · Palette generator →

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