#3E2E9F#3E2E9F

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

Color values

HEX#3E2E9F
RGBrgb(62, 46, 159)
HSLhsl(248, 55%, 40%)
HSVhsv(248, 71%, 62%)
CMYKcmyk(61%, 71.1%, 0%, 37.6%)
CIE-LABlab(28.06, 39.81, -58.87)
CIE-LCHlch(28.06, 71.07, 304.07°)
OKLaboklab(39.7% 0.0345 -0.1696)
OKLCHoklch(39.7% 0.173 281.5)
XYZxyz(9.2196, 5.4807, 33.3662)
Luminance0.0548 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2E9F #8F9F2E
analogous
#2E569F #3E2E9F #772E9F
triadic
#3E2E9F #9F3E2E #2E9F3E
tetradic
#3E2E9F #9F2E56 #8F9F2E #2E9F77
square
#3E2E9F #9F2E56 #8F9F2E #2E9F77
split-complementary
#3E2E9F #9F772E #569F2E
monochromatic
#191340 #2B2070 #3E2E9F #5542C8 #8071D6

Accessibility & contrast

On white

10.02
#3E2E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#3E2E9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2E9F
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2E9F#FFFFFF#000000##FFFFFF
##3E2E9F1.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A2
Deuteranopia (green-blind)
#003E9D
Tritanopia (blue-blind)
#004C63
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3e2e9f;
/* rgb */ color: rgb(62, 46, 159);
/* oklch */ color: oklch(39.7% 0.173 281.5);
Tailwind
colors: {
  custom: {
    50: '#7f68bc',
    500: '#3e2e9f',
    950: '#000000',
  },
}
SCSS
$custom: #3e2e9f;
$custom-light: #7f68bc;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2e9f",
  "rgb": {
    "r": 62,
    "g": 46,
    "b": 159
  },
  "hsl": {
    "h": 248.496,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.39702,
    "c": 0.17311,
    "h": 281.5
  },
  "luminance": 0.05481
}

Semantic roles & 50–950 ramp

primary
#3E2E9F
secondary
#B2BE6B
accent
#DE49C9
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3E2E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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