#3B41D6#3B41D6

#3B41D6 is a mid, highly saturated blue. Relative luminance 0.096; OKLCH L 47.7% C 0.222 H 272.5°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#3B41D6
RGBrgb(59, 65, 214)
HSLhsl(238, 65%, 54%)
HSVhsv(238, 72%, 84%)
CMYKcmyk(72.4%, 69.6%, 0%, 16.1%)
CIE-LABlab(37.05, 46.43, -76.61)
CIE-LCHlch(37.05, 89.58, 301.22°)
OKLaboklab(47.66% 0.0097 -0.2216)
OKLCHoklch(47.66% 0.222 272.5)
XYZxyz(15.8274, 9.5638, 64.6172)
Luminance0.0956 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B41D6 #D6D03B
analogous
#3B8FD6 #3B41D6 #823BD6
triadic
#3B41D6 #D63B41 #41D63B
tetradic
#3B41D6 #D63B8F #D6D03B #3BD682
square
#3B41D6 #D63B8F #D6D03B #3BD682
split-complementary
#3B41D6 #D6823B #8FD63B
monochromatic
#1A1E7D #252AAF #3B41D6 #6E72E1 #A0A3EB

Accessibility & contrast

On white

7.21
#3B41D6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#3B41D6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B41D6
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B41D6#FFFFFF#000000##FFFFFF
##3B41D61.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FDA
Deuteranopia (green-blind)
#0050D3
Tritanopia (blue-blind)
#006A87
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3b41d6;
/* rgb */ color: rgb(59, 65, 214);
/* oklch */ color: oklch(47.7% 0.222 272.5);
Tailwind
colors: {
  custom: {
    50: '#8776e4',
    500: '#3b41d6',
    950: '#000000',
  },
}
SCSS
$custom: #3b41d6;
$custom-light: #8776e4;
$custom-dark: #000000;
JSON
{
  "hex": "#3b41d6",
  "rgb": {
    "r": 59,
    "g": 65,
    "b": 214
  },
  "hsl": {
    "h": 237.677,
    "s": 65.401,
    "l": 53.529
  },
  "oklch": {
    "l": 0.47662,
    "c": 0.22182,
    "h": 272.5
  },
  "luminance": 0.09565
}

Semantic roles & 50–950 ramp

primary
#3B41D6
secondary
#D8D595
accent
#E23FE8
background
#F9F7FE
surface
#F1EDFC
border
#CBC8D5
text
#0D0916
muted
#7E7B84

Preview Lab

Preview with #3B41D6

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

Preview Lab → · Contrast checker → · Palette generator →

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