#3E3FB2#3E3FB2

#3E3FB2 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 44.2% C 0.178 H 275.9°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#3E3FB2
RGBrgb(62, 63, 178)
HSLhsl(239, 48%, 47%)
HSVhsv(239, 65%, 70%)
CMYKcmyk(65.2%, 64.6%, 0%, 30.2%)
CIE-LABlab(33.55, 35.85, -61.30)
CIE-LCHlch(33.55, 71.01, 300.32°)
OKLaboklab(44.19% 0.0184 -0.1767)
OKLCHoklch(44.19% 0.178 275.9)
XYZxyz(11.7974, 7.7925, 42.9932)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E3FB2 #B2B13E
analogous
#3E79B2 #3E3FB2 #773EB2
triadic
#3E3FB2 #B23E3F #3FB23E
tetradic
#3E3FB2 #B23E79 #B2B13E #3EB277
square
#3E3FB2 #B23E79 #B2B13E #3EB277
split-complementary
#3E3FB2 #B2773E #79B23E
monochromatic
#1E1F57 #2E2F85 #3E3FB2 #6465C9 #9292D9

Accessibility & contrast

On white

8.21
#3E3FB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#3E3FB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E3FB2
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E3FB2#FFFFFF#000000##FFFFFF
##3E3FB21.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B6
Deuteranopia (green-blind)
#004AB0
Tritanopia (blue-blind)
#005C73
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3e3fb2;
/* rgb */ color: rgb(62, 63, 178);
/* oklch */ color: oklch(44.2% 0.178 275.9);
Tailwind
colors: {
  custom: {
    50: '#8174ca',
    500: '#3e3fb2',
    950: '#000000',
  },
}
SCSS
$custom: #3e3fb2;
$custom-light: #8174ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3e3fb2",
  "rgb": {
    "r": 62,
    "g": 63,
    "b": 178
  },
  "hsl": {
    "h": 239.483,
    "s": 48.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.44185,
    "c": 0.1777,
    "h": 275.9
  },
  "luminance": 0.07793
}

Semantic roles & 50–950 ramp

primary
#3E3FB2
secondary
#C4C488
accent
#D750D8
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #3E3FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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