#3B3D9E#3B3D9E

#3B3D9E is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.9% C 0.154 H 276.6°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#3B3D9E
RGBrgb(59, 61, 158)
HSLhsl(239, 46%, 43%)
HSVhsv(239, 63%, 62%)
CMYKcmyk(62.7%, 61.4%, 0%, 38%)
CIE-LABlab(31.20, 29.76, -53.15)
CIE-LCHlch(31.20, 60.91, 299.24°)
OKLaboklab(41.89% 0.0176 -0.1529)
OKLCHoklch(41.89% 0.154 276.6)
XYZxyz(9.6419, 6.7352, 33.1330)
Luminance0.0674 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B3D9E #9E9C3B
analogous
#3B6E9E #3B3D9E #6B3B9E
triadic
#3B3D9E #9E3B3D #3D9E3B
tetradic
#3B3D9E #9E3B6E #9E9C3B #3B9E6B
square
#3B3D9E #9E3B6E #9E9C3B #3B9E6B
split-complementary
#3B3D9E #9E6B3B #6E9E3B
monochromatic
#1A1B45 #2A2C71 #3B3D9E #5658C0 #8384D1

Accessibility & contrast

On white

8.95
#3B3D9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#3B3D9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B3D9E
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B3D9E#FFFFFF#000000##FFFFFF
##3B3D9E1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA1
Deuteranopia (green-blind)
#00459C
Tritanopia (blue-blind)
#005567
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3b3d9e;
/* rgb */ color: rgb(59, 61, 158);
/* oklch */ color: oklch(41.9% 0.154 276.6);
Tailwind
colors: {
  custom: {
    50: '#7c72bb',
    500: '#3b3d9e',
    950: '#000000',
  },
}
SCSS
$custom: #3b3d9e;
$custom-light: #7c72bb;
$custom-dark: #000000;
JSON
{
  "hex": "#3b3d9e",
  "rgb": {
    "r": 59,
    "g": 61,
    "b": 158
  },
  "hsl": {
    "h": 238.788,
    "s": 45.622,
    "l": 42.549
  },
  "oklch": {
    "l": 0.41891,
    "c": 0.15393,
    "h": 276.6
  },
  "luminance": 0.06736
}

Semantic roles & 50–950 ramp

primary
#3B3D9E
secondary
#BBB97A
accent
#D353D5
background
#F8F6FB
surface
#EFECF6
border
#CAC7D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #3B3D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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