#3E308E#3E308E

#3E308E is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.5% C 0.148 H 283.7°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#3E308E
RGBrgb(62, 48, 142)
HSLhsl(249, 49%, 37%)
HSVhsv(249, 66%, 56%)
CMYKcmyk(56.3%, 66.2%, 0%, 44.3%)
CIE-LABlab(26.99, 33.12, -50.20)
CIE-LCHlch(26.99, 60.14, 303.42°)
OKLaboklab(38.46% 0.0352 -0.1442)
OKLCHoklch(38.46% 0.148 283.7)
XYZxyz(7.9246, 5.0906, 26.1509)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E308E #808E30
analogous
#30518E #3E308E #6D308E
triadic
#3E308E #8E3E30 #308E3E
tetradic
#3E308E #8E3051 #808E30 #308E6D
square
#3E308E #8E3051 #808E30 #308E6D
split-complementary
#3E308E #8E6D30 #518E30
monochromatic
#161133 #2A2160 #3E308E #523FBC #7A6BCD

Accessibility & contrast

On white

10.41
#3E308E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E308E
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E308E#FFFFFF#000000##FFFFFF
##3E308E1.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004391
Deuteranopia (green-blind)
#003D8C
Tritanopia (blue-blind)
#19475A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3e308e;
/* rgb */ color: rgb(62, 48, 142);
/* oklch */ color: oklch(38.5% 0.148 283.7);
Tailwind
colors: {
  custom: {
    50: '#7c69b0',
    500: '#3e308e',
    950: '#000000',
  },
}
SCSS
$custom: #3e308e;
$custom-light: #7c69b0;
$custom-dark: #000000;
JSON
{
  "hex": "#3e308e",
  "rgb": {
    "r": 62,
    "g": 48,
    "b": 142
  },
  "hsl": {
    "h": 248.936,
    "s": 49.474,
    "l": 37.255
  },
  "oklch": {
    "l": 0.38464,
    "c": 0.14845,
    "h": 283.7
  },
  "luminance": 0.05091
}

Semantic roles & 50–950 ramp

primary
#3E308E
secondary
#A9B465
accent
#D94FC4
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #3E308E

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

Preview Lab → · Contrast checker → · Palette generator →

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