#3E309C#3E309C

#3E309C is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.7% C 0.167 H 281.5°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#3E309C
RGBrgb(62, 48, 156)
HSLhsl(248, 53%, 40%)
HSVhsv(248, 69%, 61%)
CMYKcmyk(60.3%, 69.2%, 0%, 38.8%)
CIE-LABlab(28.21, 37.67, -56.79)
CIE-LCHlch(28.21, 68.15, 303.56°)
OKLaboklab(39.73% 0.0334 -0.1636)
OKLCHoklch(39.73% 0.167 281.5)
XYZxyz(9.0424, 5.5377, 32.0384)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E309C #8E9C30
analogous
#30589C #3E309C #74309C
triadic
#3E309C #9C3E30 #309C3E
tetradic
#3E309C #9C3058 #8E9C30 #309C74
square
#3E309C #9C3058 #8E9C30 #309C74
split-complementary
#3E309C #9C7430 #589C30
monochromatic
#19133E #2B226D #3E309C #5544C5 #7F73D4

Accessibility & contrast

On white

9.96
#3E309C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#3E309C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E309C
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E309C#FFFFFF#000000##FFFFFF
##3E309C1.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469F
Deuteranopia (green-blind)
#003F9A
Tritanopia (blue-blind)
#004C62
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3e309c;
/* rgb */ color: rgb(62, 48, 156);
/* oklch */ color: oklch(39.7% 0.167 281.5);
Tailwind
colors: {
  custom: {
    50: '#7e6aba',
    500: '#3e309c',
    950: '#000000',
  },
}
SCSS
$custom: #3e309c;
$custom-light: #7e6aba;
$custom-dark: #000000;
JSON
{
  "hex": "#3e309c",
  "rgb": {
    "r": 62,
    "g": 48,
    "b": 156
  },
  "hsl": {
    "h": 247.778,
    "s": 52.941,
    "l": 40
  },
  "oklch": {
    "l": 0.39726,
    "c": 0.16693,
    "h": 281.5
  },
  "luminance": 0.05538
}

Semantic roles & 50–950 ramp

primary
#3E309C
secondary
#B1BC6C
accent
#DC4BCA
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3E309C

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

Preview Lab → · Contrast checker → · Palette generator →

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