#3E2F94#3E2F94

#3E2F94 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.8% C 0.158 H 283.0°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#3E2F94
RGBrgb(62, 47, 148)
HSLhsl(249, 52%, 38%)
HSVhsv(249, 68%, 58%)
CMYKcmyk(58.1%, 68.2%, 0%, 42%)
CIE-LABlab(27.28, 35.68, -53.42)
CIE-LCHlch(27.28, 64.24, 303.74°)
OKLaboklab(38.83% 0.0354 -0.1537)
OKLCHoklch(38.83% 0.158 283)
XYZxyz(8.3468, 5.1948, 28.5741)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2F94 #85942F
analogous
#2F5294 #3E2F94 #702F94
triadic
#3E2F94 #943E2F #2F943E
tetradic
#3E2F94 #942F52 #85942F #2F9470
square
#3E2F94 #942F52 #85942F #2F9470
split-complementary
#3E2F94 #94702F #52942F
monochromatic
#171137 #2B2066 #3E2F94 #523EC2 #7C6DD1

Accessibility & contrast

On white

10.30
#3E2F94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#3E2F94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2F94
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2F94#FFFFFF#000000##FFFFFF
##3E2F941.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004497
Deuteranopia (green-blind)
#003D92
Tritanopia (blue-blind)
#10495D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3e2f94;
/* rgb */ color: rgb(62, 47, 148);
/* oklch */ color: oklch(38.8% 0.158 283.0);
Tailwind
colors: {
  custom: {
    50: '#7d69b4',
    500: '#3e2f94',
    950: '#000000',
  },
}
SCSS
$custom: #3e2f94;
$custom-light: #7d69b4;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2f94",
  "rgb": {
    "r": 62,
    "g": 47,
    "b": 148
  },
  "hsl": {
    "h": 248.911,
    "s": 51.795,
    "l": 38.235
  },
  "oklch": {
    "l": 0.38835,
    "c": 0.15771,
    "h": 283
  },
  "luminance": 0.05195
}

Semantic roles & 50–950 ramp

primary
#3E2F94
secondary
#ACB867
accent
#DB4DC6
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #3E2F94

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

Preview Lab → · Contrast checker → · Palette generator →

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