#3B3EC6#3B3EC6

#3B3EC6 is a mid, highly saturated blue. Relative luminance 0.085; OKLCH L 45.7% C 0.205 H 273.8°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#3B3EC6
RGBrgb(59, 62, 198)
HSLhsl(239, 55%, 50%)
HSVhsv(239, 70%, 78%)
CMYKcmyk(70.2%, 68.7%, 0%, 22.4%)
CIE-LABlab(34.90, 42.84, -70.86)
CIE-LCHlch(34.90, 82.80, 301.16°)
OKLaboklab(45.67% 0.0134 -0.2048)
OKLCHoklch(45.67% 0.205 273.8)
XYZxyz(13.7159, 8.4509, 54.3235)
Luminance0.0845 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B3EC6 #C6C33B
analogous
#3B83C6 #3B3EC6 #7D3BC6
triadic
#3B3EC6 #C63B3E #3EC63B
tetradic
#3B3EC6 #C63B83 #C6C33B #3BC67D
square
#3B3EC6 #C63B83 #C6C33B #3BC67D
split-complementary
#3B3EC6 #C67D3B #83C63B
monochromatic
#1E2068 #2C2E98 #3B3EC6 #6A6DD4 #9A9BE2

Accessibility & contrast

On white

7.81
#3B3EC6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#3B3EC6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B3EC6
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B3EC6#FFFFFF#000000##FFFFFF
##3B3EC61.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CA
Deuteranopia (green-blind)
#004CC3
Tritanopia (blue-blind)
#00637D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3b3ec6;
/* rgb */ color: rgb(59, 62, 198);
/* oklch */ color: oklch(45.7% 0.205 273.8);
Tailwind
colors: {
  custom: {
    50: '#8474d8',
    500: '#3b3ec6',
    950: '#000000',
  },
}
SCSS
$custom: #3b3ec6;
$custom-light: #8474d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3b3ec6",
  "rgb": {
    "r": 59,
    "g": 62,
    "b": 198
  },
  "hsl": {
    "h": 238.705,
    "s": 54.941,
    "l": 50.392
  },
  "oklch": {
    "l": 0.45665,
    "c": 0.20525,
    "h": 273.8
  },
  "luminance": 0.08452
}

Semantic roles & 50–950 ramp

primary
#3B3EC6
secondary
#CDCC8F
accent
#DB4ADE
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #3B3EC6

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

Preview Lab → · Contrast checker → · Palette generator →

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