#3B419D#3B419D

#3B419D is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.6% C 0.147 H 275.4°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#3B419D
RGBrgb(59, 65, 157)
HSLhsl(236, 45%, 42%)
HSVhsv(236, 62%, 62%)
CMYKcmyk(62.4%, 58.6%, 0%, 38.4%)
CIE-LABlab(32.13, 26.81, -51.02)
CIE-LCHlch(32.13, 57.64, 297.72°)
OKLaboklab(42.56% 0.0138 -0.1466)
OKLCHoklch(42.56% 0.147 275.4)
XYZxyz(9.7777, 7.1439, 32.7554)
Luminance0.0714 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B419D #9D973B
analogous
#3B729D #3B419D #663B9D
triadic
#3B419D #9D3B41 #419D3B
tetradic
#3B419D #9D3B72 #9D973B #3B9D66
square
#3B419D #9D3B72 #9D973B #3B9D66
split-complementary
#3B419D #9D663B #729D3B
monochromatic
#1A1C44 #2A2F71 #3B419D #565CBF #8287D0

Accessibility & contrast

On white

8.65
#3B419D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#3B419D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B419D
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B419D#FFFFFF#000000##FFFFFF
##3B419D1.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A0
Deuteranopia (green-blind)
#00479B
Tritanopia (blue-blind)
#005768
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3b419d;
/* rgb */ color: rgb(59, 65, 157);
/* oklch */ color: oklch(42.6% 0.147 275.4);
Tailwind
colors: {
  custom: {
    50: '#7b75bb',
    500: '#3b419d',
    950: '#000000',
  },
}
SCSS
$custom: #3b419d;
$custom-light: #7b75bb;
$custom-dark: #000000;
JSON
{
  "hex": "#3b419d",
  "rgb": {
    "r": 59,
    "g": 65,
    "b": 157
  },
  "hsl": {
    "h": 236.327,
    "s": 45.37,
    "l": 42.353
  },
  "oklch": {
    "l": 0.42559,
    "c": 0.14728,
    "h": 275.4
  },
  "luminance": 0.07145
}

Semantic roles & 50–950 ramp

primary
#3B419D
secondary
#BAB67A
accent
#CD53D5
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #3B419D

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

Preview Lab → · Contrast checker → · Palette generator →

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