#3B41BB#3B41BB

#3B41BB is a mid, vivid blue. Relative luminance 0.083; OKLCH L 45.1% C 0.188 H 273.8°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#3B41BB
RGBrgb(59, 65, 187)
HSLhsl(237, 52%, 48%)
HSVhsv(237, 68%, 73%)
CMYKcmyk(68.4%, 65.2%, 0%, 26.7%)
CIE-LABlab(34.59, 37.28, -64.92)
CIE-LCHlch(34.59, 74.86, 299.86°)
OKLaboklab(45.14% 0.0126 -0.1874)
OKLCHoklch(45.14% 0.188 273.8)
XYZxyz(12.6606, 8.2971, 47.9384)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B41BB #BBB53B
analogous
#3B81BB #3B41BB #753BBB
triadic
#3B41BB #BB3B41 #41BB3B
tetradic
#3B41BB #BB3B81 #BBB53B #3BBB75
square
#3B41BB #BB3B81 #BBB53B #3BBB75
split-complementary
#3B41BB #BB753B #81BB3B
monochromatic
#1E215E #2C318C #3B41BB #656ACE #9397DD

Accessibility & contrast

On white

7.90
#3B41BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#3B41BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B41BB
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B41BB#FFFFFF#000000##FFFFFF
##3B41BB1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BF
Deuteranopia (green-blind)
#004CB9
Tritanopia (blue-blind)
#006178
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3b41bb;
/* rgb */ color: rgb(59, 65, 187);
/* oklch */ color: oklch(45.1% 0.188 273.8);
Tailwind
colors: {
  custom: {
    50: '#8176d0',
    500: '#3b41bb',
    950: '#000000',
  },
}
SCSS
$custom: #3b41bb;
$custom-light: #8176d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3b41bb",
  "rgb": {
    "r": 59,
    "g": 65,
    "b": 187
  },
  "hsl": {
    "h": 237.188,
    "s": 52.033,
    "l": 48.235
  },
  "oklch": {
    "l": 0.45137,
    "c": 0.18785,
    "h": 273.8
  },
  "luminance": 0.08298
}

Semantic roles & 50–950 ramp

primary
#3B41BB
secondary
#C8C58A
accent
#D54CDB
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #3B41BB

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

Preview Lab → · Contrast checker → · Palette generator →

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