#3B3ECC#3B3ECC

#3B3ECC is a mid, highly saturated blue. Relative luminance 0.087; OKLCH L 46.2% C 0.213 H 273.4°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#3B3ECC
RGBrgb(59, 62, 204)
HSLhsl(239, 59%, 52%)
HSVhsv(239, 71%, 80%)
CMYKcmyk(71.1%, 69.6%, 0%, 20%)
CIE-LABlab(35.47, 44.85, -73.43)
CIE-LCHlch(35.47, 86.04, 301.42°)
OKLaboklab(46.24% 0.0127 -0.2123)
OKLCHoklch(46.24% 0.213 273.4)
XYZxyz(14.4217, 8.7333, 58.0407)
Luminance0.0873 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B3ECC #CCC93B
analogous
#3B86CC #3B3ECC #813BCC
triadic
#3B3ECC #CC3B3E #3ECC3B
tetradic
#3B3ECC #CC3B86 #CCC93B #3BCC81
square
#3B3ECC #CC3B86 #CCC93B #3BCC81
split-complementary
#3B3ECC #CC813B #86CC3B
monochromatic
#1D1F70 #2A2CA0 #3B3ECC #6C6ED9 #9C9EE5

Accessibility & contrast

On white

7.64
#3B3ECC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#3B3ECC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B3ECC
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B3ECC#FFFFFF#000000##FFFFFF
##3B3ECC1.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AD0
Deuteranopia (green-blind)
#004DC9
Tritanopia (blue-blind)
#006580
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3b3ecc;
/* rgb */ color: rgb(59, 62, 204);
/* oklch */ color: oklch(46.2% 0.213 273.4);
Tailwind
colors: {
  custom: {
    50: '#8574dd',
    500: '#3b3ecc',
    950: '#000000',
  },
}
SCSS
$custom: #3b3ecc;
$custom-light: #8574dd;
$custom-dark: #000000;
JSON
{
  "hex": "#3b3ecc",
  "rgb": {
    "r": 59,
    "g": 62,
    "b": 204
  },
  "hsl": {
    "h": 238.759,
    "s": 58.704,
    "l": 51.569
  },
  "oklch": {
    "l": 0.46239,
    "c": 0.21271,
    "h": 273.4
  },
  "luminance": 0.08735
}

Semantic roles & 50–950 ramp

primary
#3B3ECC
secondary
#D1D092
accent
#DF46E2
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #3B3ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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