#3E309A#3E309A

#3E309A is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.5% C 0.164 H 281.8°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#3E309A
RGBrgb(62, 48, 154)
HSLhsl(248, 52%, 40%)
HSVhsv(248, 69%, 60%)
CMYKcmyk(59.7%, 68.8%, 0%, 39.6%)
CIE-LABlab(28.04, 37.03, -55.87)
CIE-LCHlch(28.04, 67.02, 303.53°)
OKLaboklab(39.54% 0.0337 -0.1608)
OKLCHoklch(39.54% 0.164 281.8)
XYZxyz(8.8745, 5.4705, 31.1539)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E309A #8C9A30
analogous
#30579A #3E309A #73309A
triadic
#3E309A #9A3E30 #309A3E
tetradic
#3E309A #9A3057 #8C9A30 #309A73
square
#3E309A #9A3057 #8C9A30 #309A73
split-complementary
#3E309A #9A7330 #579A30
monochromatic
#18133D #2B216B #3E309A #5443C4 #7E72D3

Accessibility & contrast

On white

10.03
#3E309A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#3E309A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E309A
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E309A#FFFFFF#000000##FFFFFF
##3E309A1.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469D
Deuteranopia (green-blind)
#003E98
Tritanopia (blue-blind)
#014C61
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3e309a;
/* rgb */ color: rgb(62, 48, 154);
/* oklch */ color: oklch(39.5% 0.164 281.8);
Tailwind
colors: {
  custom: {
    50: '#7e69b9',
    500: '#3e309a',
    950: '#000000',
  },
}
SCSS
$custom: #3e309a;
$custom-light: #7e69b9;
$custom-dark: #000000;
JSON
{
  "hex": "#3e309a",
  "rgb": {
    "r": 62,
    "g": 48,
    "b": 154
  },
  "hsl": {
    "h": 247.925,
    "s": 52.475,
    "l": 39.608
  },
  "oklch": {
    "l": 0.39542,
    "c": 0.16433,
    "h": 281.8
  },
  "luminance": 0.05471
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3E309A

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

Preview Lab → · Contrast checker → · Palette generator →

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