#3B3FB6#3B3FB6

#3B3FB6 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.3% C 0.184 H 274.5°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#3B3FB6
RGBrgb(59, 63, 182)
HSLhsl(238, 51%, 47%)
HSVhsv(238, 68%, 71%)
CMYKcmyk(67.6%, 65.4%, 0%, 28.6%)
CIE-LABlab(33.69, 36.80, -63.44)
CIE-LCHlch(33.69, 73.34, 300.11°)
OKLaboklab(44.35% 0.0145 -0.1831)
OKLCHoklch(44.35% 0.184 274.5)
XYZxyz(12.0218, 7.8611, 45.1307)
Luminance0.0786 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B3FB6 #B6B23B
analogous
#3B7CB6 #3B3FB6 #753BB6
triadic
#3B3FB6 #B63B3F #3FB63B
tetradic
#3B3FB6 #B63B7C #B6B23B #3BB675
square
#3B3FB6 #B63B7C #B6B23B #3BB675
split-complementary
#3B3FB6 #B6753B #7CB63B
monochromatic
#1D1F5A #2C2F88 #3B3FB6 #6266CC #9093DB

Accessibility & contrast

On white

8.16
#3B3FB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#3B3FB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B3FB6
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B3FB6#FFFFFF#000000##FFFFFF
##3B3FB61.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BA
Deuteranopia (green-blind)
#004AB4
Tritanopia (blue-blind)
#005E75
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3b3fb6;
/* rgb */ color: rgb(59, 63, 182);
/* oklch */ color: oklch(44.3% 0.184 274.5);
Tailwind
colors: {
  custom: {
    50: '#8174cd',
    500: '#3b3fb6',
    950: '#000000',
  },
}
SCSS
$custom: #3b3fb6;
$custom-light: #8174cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3b3fb6",
  "rgb": {
    "r": 59,
    "g": 63,
    "b": 182
  },
  "hsl": {
    "h": 238.049,
    "s": 51.037,
    "l": 47.255
  },
  "oklch": {
    "l": 0.44345,
    "c": 0.18368,
    "h": 274.5
  },
  "luminance": 0.07862
}

Semantic roles & 50–950 ramp

primary
#3B3FB6
secondary
#C6C487
accent
#D64DDB
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #3B3FB6

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

Preview Lab → · Contrast checker → · Palette generator →

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