#3B3EC7#3B3EC7

#3B3EC7 is a mid, highly saturated blue. Relative luminance 0.085; OKLCH L 45.8% C 0.206 H 273.7°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#3B3EC7
RGBrgb(59, 62, 199)
HSLhsl(239, 56%, 51%)
HSVhsv(239, 70%, 78%)
CMYKcmyk(70.4%, 68.8%, 0%, 22%)
CIE-LABlab(35.00, 43.18, -71.29)
CIE-LCHlch(35.00, 83.35, 301.20°)
OKLaboklab(45.76% 0.0133 -0.2061)
OKLCHoklch(45.76% 0.207 273.7)
XYZxyz(13.8316, 8.4972, 54.9330)
Luminance0.0850 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B3EC7 #C7C43B
analogous
#3B84C7 #3B3EC7 #7E3BC7
triadic
#3B3EC7 #C73B3E #3EC73B
tetradic
#3B3EC7 #C73B84 #C7C43B #3BC77E
square
#3B3EC7 #C73B84 #C7C43B #3BC77E
split-complementary
#3B3EC7 #C77E3B #84C73B
monochromatic
#1E2069 #2C2E99 #3B3EC7 #6B6DD5 #9A9CE2

Accessibility & contrast

On white

7.78
#3B3EC7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#3B3EC7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B3EC7
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B3EC7#FFFFFF#000000##FFFFFF
##3B3EC71.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CB
Deuteranopia (green-blind)
#004CC4
Tritanopia (blue-blind)
#00637E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3b3ec7;
/* rgb */ color: rgb(59, 62, 199);
/* oklch */ color: oklch(45.8% 0.206 273.7);
Tailwind
colors: {
  custom: {
    50: '#8474d9',
    500: '#3b3ec7',
    950: '#000000',
  },
}
SCSS
$custom: #3b3ec7;
$custom-light: #8474d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3b3ec7",
  "rgb": {
    "r": 59,
    "g": 62,
    "b": 199
  },
  "hsl": {
    "h": 238.714,
    "s": 55.556,
    "l": 50.588
  },
  "oklch": {
    "l": 0.4576,
    "c": 0.2065,
    "h": 273.7
  },
  "luminance": 0.08499
}

Semantic roles & 50–950 ramp

primary
#3B3EC7
secondary
#CECD90
accent
#DC49DF
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #3B3EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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