#3E3095#3E3095

#3E3095 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.1% C 0.158 H 282.6°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#3E3095
RGBrgb(62, 48, 149)
HSLhsl(248, 51%, 39%)
HSVhsv(248, 68%, 58%)
CMYKcmyk(58.4%, 67.8%, 0%, 41.6%)
CIE-LABlab(27.59, 35.40, -53.53)
CIE-LCHlch(27.59, 64.18, 303.48°)
OKLaboklab(39.09% 0.0344 -0.154)
OKLCHoklch(39.09% 0.158 282.6)
XYZxyz(8.4667, 5.3074, 29.0062)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E3095 #879530
analogous
#305495 #3E3095 #703095
triadic
#3E3095 #953E30 #30953E
tetradic
#3E3095 #953054 #879530 #309570
square
#3E3095 #953054 #879530 #309570
split-complementary
#3E3095 #957030 #549530
monochromatic
#171238 #2B2167 #3E3095 #5241C2 #7C6FD1

Accessibility & contrast

On white

10.19
#3E3095 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#3E3095 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E3095
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E3095#FFFFFF#000000##FFFFFF
##3E30951.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004498
Deuteranopia (green-blind)
#003E93
Tritanopia (blue-blind)
#0E4A5E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3e3095;
/* rgb */ color: rgb(62, 48, 149);
/* oklch */ color: oklch(39.1% 0.158 282.6);
Tailwind
colors: {
  custom: {
    50: '#7d69b5',
    500: '#3e3095',
    950: '#000000',
  },
}
SCSS
$custom: #3e3095;
$custom-light: #7d69b5;
$custom-dark: #000000;
JSON
{
  "hex": "#3e3095",
  "rgb": {
    "r": 62,
    "g": 48,
    "b": 149
  },
  "hsl": {
    "h": 248.317,
    "s": 51.269,
    "l": 38.627
  },
  "oklch": {
    "l": 0.39087,
    "c": 0.15778,
    "h": 282.6
  },
  "luminance": 0.05308
}

Semantic roles & 50–950 ramp

primary
#3E3095
secondary
#ADB869
accent
#DB4DC7
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #3E3095

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

Preview Lab → · Contrast checker → · Palette generator →

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