#3B3EC3#3B3EC3

#3B3EC3 is a mid, highly saturated blue. Relative luminance 0.083; OKLCH L 45.4% C 0.201 H 273.9°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#3B3EC3
RGBrgb(59, 62, 195)
HSLhsl(239, 54%, 50%)
HSVhsv(239, 70%, 76%)
CMYKcmyk(69.7%, 68.2%, 0%, 23.5%)
CIE-LABlab(34.63, 41.83, -69.56)
CIE-LCHlch(34.63, 81.17, 301.02°)
OKLaboklab(45.38% 0.0138 -0.201)
OKLCHoklch(45.38% 0.201 273.9)
XYZxyz(13.3733, 8.3139, 52.5191)
Luminance0.0832 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B3EC3 #C3C03B
analogous
#3B82C3 #3B3EC3 #7C3BC3
triadic
#3B3EC3 #C33B3E #3EC33B
tetradic
#3B3EC3 #C33B82 #C3C03B #3BC37C
square
#3B3EC3 #C33B82 #C3C03B #3BC37C
split-complementary
#3B3EC3 #C37C3B #82C33B
monochromatic
#1F2065 #2D2F94 #3B3EC3 #696CD2 #989AE0

Accessibility & contrast

On white

7.89
#3B3EC3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#3B3EC3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B3EC3
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B3EC3#FFFFFF#000000##FFFFFF
##3B3EC31.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C7
Deuteranopia (green-blind)
#004BC1
Tritanopia (blue-blind)
#00627B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3b3ec3;
/* rgb */ color: rgb(59, 62, 195);
/* oklch */ color: oklch(45.4% 0.201 273.9);
Tailwind
colors: {
  custom: {
    50: '#8374d6',
    500: '#3b3ec3',
    950: '#000000',
  },
}
SCSS
$custom: #3b3ec3;
$custom-light: #8374d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3b3ec3",
  "rgb": {
    "r": 59,
    "g": 62,
    "b": 195
  },
  "hsl": {
    "h": 238.676,
    "s": 53.543,
    "l": 49.804
  },
  "oklch": {
    "l": 0.45381,
    "c": 0.20149,
    "h": 273.9
  },
  "luminance": 0.08315
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3B3EC3

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

Preview Lab → · Contrast checker → · Palette generator →

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