#3E3BB2#3E3BB2

#3E3BB2 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.5% C 0.182 H 276.8°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#3E3BB2
RGBrgb(62, 59, 178)
HSLhsl(242, 50%, 46%)
HSVhsv(242, 67%, 70%)
CMYKcmyk(65.2%, 66.9%, 0%, 30.2%)
CIE-LABlab(32.62, 38.31, -62.81)
CIE-LCHlch(32.62, 73.57, 301.38°)
OKLaboklab(43.52% 0.0215 -0.1812)
OKLCHoklch(43.52% 0.182 276.8)
XYZxyz(11.5838, 7.3654, 42.9221)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E3BB2 #AFB23B
analogous
#3B74B2 #3E3BB2 #7A3BB2
triadic
#3E3BB2 #B23E3B #3BB23E
tetradic
#3E3BB2 #B23B74 #AFB23B #3BB27A
square
#3E3BB2 #B23B74 #AFB23B #3BB27A
split-complementary
#3E3BB2 #B27A3B #74B23B
monochromatic
#1E1D56 #2E2C84 #3E3BB2 #6360CA #908EDA

Accessibility & contrast

On white

8.49
#3E3BB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#3E3BB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E3BB2
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E3BB2#FFFFFF#000000##FFFFFF
##3E3BB21.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B6
Deuteranopia (green-blind)
#0048B0
Tritanopia (blue-blind)
#005A71
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3e3bb2;
/* rgb */ color: rgb(62, 59, 178);
/* oklch */ color: oklch(43.5% 0.182 276.8);
Tailwind
colors: {
  custom: {
    50: '#8172ca',
    500: '#3e3bb2',
    950: '#000000',
  },
}
SCSS
$custom: #3e3bb2;
$custom-light: #8172ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3e3bb2",
  "rgb": {
    "r": 62,
    "g": 59,
    "b": 178
  },
  "hsl": {
    "h": 241.513,
    "s": 50.211,
    "l": 46.471
  },
  "oklch": {
    "l": 0.43515,
    "c": 0.18246,
    "h": 276.8
  },
  "luminance": 0.07366
}

Semantic roles & 50–950 ramp

primary
#3E3BB2
secondary
#C3C485
accent
#DA4ED6
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #3E3BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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