#3B3EB5#3B3EB5

#3B3EB5 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 44.1% C 0.184 H 274.8°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#3B3EB5
RGBrgb(59, 62, 181)
HSLhsl(239, 51%, 47%)
HSVhsv(239, 67%, 71%)
CMYKcmyk(67.4%, 65.7%, 0%, 29%)
CIE-LABlab(33.37, 37.07, -63.38)
CIE-LCHlch(33.37, 73.42, 300.33°)
OKLaboklab(44.09% 0.0153 -0.1829)
OKLCHoklch(44.09% 0.184 274.8)
XYZxyz(11.8640, 7.7102, 44.5701)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B3EB5 #B5B23B
analogous
#3B7BB5 #3B3EB5 #753BB5
triadic
#3B3EB5 #B53B3E #3EB53B
tetradic
#3B3EB5 #B53B7B #B5B23B #3BB575
square
#3B3EB5 #B53B7B #B5B23B #3BB575
split-complementary
#3B3EB5 #B5753B #7BB53B
monochromatic
#1D1E59 #2C2E87 #3B3EB5 #6264CC #9092DB

Accessibility & contrast

On white

8.26
#3B3EB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#3B3EB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B3EB5
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B3EB5#FFFFFF#000000##FFFFFF
##3B3EB51.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B9
Deuteranopia (green-blind)
#0049B3
Tritanopia (blue-blind)
#005D74
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3b3eb5;
/* rgb */ color: rgb(59, 62, 181);
/* oklch */ color: oklch(44.1% 0.184 274.8);
Tailwind
colors: {
  custom: {
    50: '#8074cc',
    500: '#3b3eb5',
    950: '#000000',
  },
}
SCSS
$custom: #3b3eb5;
$custom-light: #8074cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3b3eb5",
  "rgb": {
    "r": 59,
    "g": 62,
    "b": 181
  },
  "hsl": {
    "h": 238.525,
    "s": 50.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.44085,
    "c": 0.18356,
    "h": 274.8
  },
  "luminance": 0.07711
}

Semantic roles & 50–950 ramp

primary
#3B3EB5
secondary
#C6C486
accent
#D74DDA
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #3B3EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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