#3B3EC2#3B3EC2

#3B3EC2 is a mid, highly saturated blue. Relative luminance 0.083; OKLCH L 45.3% C 0.200 H 274.0°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#3B3EC2
RGBrgb(59, 62, 194)
HSLhsl(239, 53%, 50%)
HSVhsv(239, 70%, 76%)
CMYKcmyk(69.6%, 68%, 0%, 23.9%)
CIE-LABlab(34.54, 41.50, -69.12)
CIE-LCHlch(34.54, 80.62, 300.98°)
OKLaboklab(45.29% 0.0139 -0.1997)
OKLCHoklch(45.29% 0.2 274)
XYZxyz(13.2606, 8.2688, 51.9257)
Luminance0.0827 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B3EC2 #C2BF3B
analogous
#3B81C2 #3B3EC2 #7C3BC2
triadic
#3B3EC2 #C23B3E #3EC23B
tetradic
#3B3EC2 #C23B81 #C2BF3B #3BC27C
square
#3B3EC2 #C23B81 #C2BF3B #3BC27C
split-complementary
#3B3EC2 #C27C3B #81C23B
monochromatic
#1E2064 #2D2F93 #3B3EC2 #696BD1 #9899E0

Accessibility & contrast

On white

7.91
#3B3EC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#3B3EC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B3EC2
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B3EC2#FFFFFF#000000##FFFFFF
##3B3EC21.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C6
Deuteranopia (green-blind)
#004BC0
Tritanopia (blue-blind)
#00627B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3b3ec2;
/* rgb */ color: rgb(59, 62, 194);
/* oklch */ color: oklch(45.3% 0.200 274.0);
Tailwind
colors: {
  custom: {
    50: '#8374d6',
    500: '#3b3ec2',
    950: '#000000',
  },
}
SCSS
$custom: #3b3ec2;
$custom-light: #8374d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3b3ec2",
  "rgb": {
    "r": 59,
    "g": 62,
    "b": 194
  },
  "hsl": {
    "h": 238.667,
    "s": 53.36,
    "l": 49.608
  },
  "oklch": {
    "l": 0.45287,
    "c": 0.20023,
    "h": 274
  },
  "luminance": 0.0827
}

Semantic roles & 50–950 ramp

primary
#3B3EC2
secondary
#CBCA8E
accent
#DA4BDD
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3B3EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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