#3B3EC0#3B3EC0

#3B3EC0 is a mid, vivid blue. Relative luminance 0.082; OKLCH L 45.1% C 0.198 H 274.1°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#3B3EC0
RGBrgb(59, 62, 192)
HSLhsl(239, 53%, 49%)
HSVhsv(239, 69%, 75%)
CMYKcmyk(69.3%, 67.7%, 0%, 24.7%)
CIE-LABlab(34.35, 40.82, -68.25)
CIE-LCHlch(34.35, 79.53, 300.88°)
OKLaboklab(45.1% 0.0142 -0.1972)
OKLCHoklch(45.1% 0.198 274.1)
XYZxyz(13.0375, 8.1796, 50.7507)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B3EC0 #C0BD3B
analogous
#3B80C0 #3B3EC0 #7B3BC0
triadic
#3B3EC0 #C03B3E #3EC03B
tetradic
#3B3EC0 #C03B80 #C0BD3B #3BC07B
square
#3B3EC0 #C03B80 #C0BD3B #3BC07B
split-complementary
#3B3EC0 #C07B3B #80C03B
monochromatic
#1E2062 #2D2F91 #3B3EC0 #686AD1 #9798DF

Accessibility & contrast

On white

7.97
#3B3EC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#3B3EC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B3EC0
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B3EC0#FFFFFF#000000##FFFFFF
##3B3EC01.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C4
Deuteranopia (green-blind)
#004BBE
Tritanopia (blue-blind)
#00617A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3b3ec0;
/* rgb */ color: rgb(59, 62, 192);
/* oklch */ color: oklch(45.1% 0.198 274.1);
Tailwind
colors: {
  custom: {
    50: '#8374d4',
    500: '#3b3ec0',
    950: '#000000',
  },
}
SCSS
$custom: #3b3ec0;
$custom-light: #8374d4;
$custom-dark: #000000;
JSON
{
  "hex": "#3b3ec0",
  "rgb": {
    "r": 59,
    "g": 62,
    "b": 192
  },
  "hsl": {
    "h": 238.647,
    "s": 52.988,
    "l": 49.216
  },
  "oklch": {
    "l": 0.45099,
    "c": 0.1977,
    "h": 274.1
  },
  "luminance": 0.08181
}

Semantic roles & 50–950 ramp

primary
#3B3EC0
secondary
#CAC98C
accent
#D94BDC
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3B3EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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