#3B419E#3B419E

#3B419E is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.6% C 0.149 H 275.3°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#3B419E
RGBrgb(59, 65, 158)
HSLhsl(236, 46%, 43%)
HSVhsv(236, 63%, 62%)
CMYKcmyk(62.7%, 58.9%, 0%, 38%)
CIE-LABlab(32.21, 27.17, -51.50)
CIE-LCHlch(32.21, 58.23, 297.81°)
OKLaboklab(42.64% 0.0138 -0.148)
OKLCHoklch(42.64% 0.149 275.3)
XYZxyz(9.8635, 7.1782, 33.2069)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B419E #9E983B
analogous
#3B729E #3B419E #673B9E
triadic
#3B419E #9E3B41 #419E3B
tetradic
#3B419E #9E3B72 #9E983B #3B9E67
square
#3B419E #9E3B72 #9E983B #3B9E67
split-complementary
#3B419E #9E673B #729E3B
monochromatic
#1A1C45 #2A2F71 #3B419E #565DC0 #8388D1

Accessibility & contrast

On white

8.62
#3B419E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#3B419E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B419E
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B419E#FFFFFF#000000##FFFFFF
##3B419E1.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A1
Deuteranopia (green-blind)
#00489C
Tritanopia (blue-blind)
#005769
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3b419e;
/* rgb */ color: rgb(59, 65, 158);
/* oklch */ color: oklch(42.6% 0.149 275.3);
Tailwind
colors: {
  custom: {
    50: '#7c75bb',
    500: '#3b419e',
    950: '#000000',
  },
}
SCSS
$custom: #3b419e;
$custom-light: #7c75bb;
$custom-dark: #000000;
JSON
{
  "hex": "#3b419e",
  "rgb": {
    "r": 59,
    "g": 65,
    "b": 158
  },
  "hsl": {
    "h": 236.364,
    "s": 45.622,
    "l": 42.549
  },
  "oklch": {
    "l": 0.4264,
    "c": 0.14868,
    "h": 275.3
  },
  "luminance": 0.07179
}

Semantic roles & 50–950 ramp

primary
#3B419E
secondary
#BBB77A
accent
#CD53D5
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #3B419E

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

Preview Lab → · Contrast checker → · Palette generator →

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