#3B3EC4#3B3EC4

#3B3EC4 is a mid, highly saturated blue. Relative luminance 0.084; OKLCH L 45.5% C 0.203 H 273.9°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#3B3EC4
RGBrgb(59, 62, 196)
HSLhsl(239, 54%, 50%)
HSVhsv(239, 70%, 77%)
CMYKcmyk(69.9%, 68.4%, 0%, 23.1%)
CIE-LABlab(34.72, 42.17, -69.99)
CIE-LCHlch(34.72, 81.71, 301.07°)
OKLaboklab(45.48% 0.0137 -0.2023)
OKLCHoklch(45.48% 0.203 273.9)
XYZxyz(13.4867, 8.3593, 53.1166)
Luminance0.0836 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B3EC4 #C4C13B
analogous
#3B83C4 #3B3EC4 #7C3BC4
triadic
#3B3EC4 #C43B3E #3EC43B
tetradic
#3B3EC4 #C43B83 #C4C13B #3BC47C
square
#3B3EC4 #C43B83 #C4C13B #3BC47C
split-complementary
#3B3EC4 #C47C3B #83C43B
monochromatic
#1F2066 #2D2F95 #3B3EC4 #6A6CD2 #999BE0

Accessibility & contrast

On white

7.86
#3B3EC4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#3B3EC4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B3EC4
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B3EC4#FFFFFF#000000##FFFFFF
##3B3EC41.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C8
Deuteranopia (green-blind)
#004BC2
Tritanopia (blue-blind)
#00627C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3b3ec4;
/* rgb */ color: rgb(59, 62, 196);
/* oklch */ color: oklch(45.5% 0.203 273.9);
Tailwind
colors: {
  custom: {
    50: '#8474d7',
    500: '#3b3ec4',
    950: '#000000',
  },
}
SCSS
$custom: #3b3ec4;
$custom-light: #8474d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3b3ec4",
  "rgb": {
    "r": 59,
    "g": 62,
    "b": 196
  },
  "hsl": {
    "h": 238.686,
    "s": 53.725,
    "l": 50
  },
  "oklch": {
    "l": 0.45475,
    "c": 0.20275,
    "h": 273.9
  },
  "luminance": 0.08361
}

Semantic roles & 50–950 ramp

primary
#3B3EC4
secondary
#CCCB8F
accent
#DA4BDD
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #3B3EC4

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

Preview Lab → · Contrast checker → · Palette generator →

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