#3B41C3#3B41C3

#3B41C3 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.9% C 0.198 H 273.4°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#3B41C3
RGBrgb(59, 65, 195)
HSLhsl(237, 54%, 50%)
HSVhsv(237, 70%, 76%)
CMYKcmyk(69.7%, 66.7%, 0%, 23.5%)
CIE-LABlab(35.30, 40.02, -68.46)
CIE-LCHlch(35.30, 79.30, 300.31°)
OKLaboklab(45.87% 0.0119 -0.1978)
OKLCHoklch(45.87% 0.198 273.4)
XYZxyz(13.5410, 8.6492, 52.5750)
Luminance0.0865 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B41C3 #C3BD3B
analogous
#3B85C3 #3B41C3 #793BC3
triadic
#3B41C3 #C33B41 #41C33B
tetradic
#3B41C3 #C33B85 #C3BD3B #3BC379
square
#3B41C3 #C33B85 #C3BD3B #3BC379
split-complementary
#3B41C3 #C3793B #85C33B
monochromatic
#1F2265 #2D3194 #3B41C3 #696ED2 #989CE0

Accessibility & contrast

On white

7.69
#3B41C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#3B41C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B41C3
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B41C3#FFFFFF#000000##FFFFFF
##3B41C31.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C7
Deuteranopia (green-blind)
#004DC1
Tritanopia (blue-blind)
#00647C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3b41c3;
/* rgb */ color: rgb(59, 65, 195);
/* oklch */ color: oklch(45.9% 0.198 273.4);
Tailwind
colors: {
  custom: {
    50: '#8376d6',
    500: '#3b41c3',
    950: '#000000',
  },
}
SCSS
$custom: #3b41c3;
$custom-light: #8376d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3b41c3",
  "rgb": {
    "r": 59,
    "g": 65,
    "b": 195
  },
  "hsl": {
    "h": 237.353,
    "s": 53.543,
    "l": 49.804
  },
  "oklch": {
    "l": 0.45868,
    "c": 0.19815,
    "h": 273.4
  },
  "luminance": 0.08651
}

Semantic roles & 50–950 ramp

primary
#3B41C3
secondary
#CCC98E
accent
#D64BDD
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3B41C3

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

Preview Lab → · Contrast checker → · Palette generator →

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