#3B41BA#3B41BA

#3B41BA is a mid, vivid blue. Relative luminance 0.083; OKLCH L 45.0% C 0.187 H 273.9°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#3B41BA
RGBrgb(59, 65, 186)
HSLhsl(237, 52%, 48%)
HSVhsv(237, 68%, 73%)
CMYKcmyk(68.3%, 65.1%, 0%, 27.1%)
CIE-LABlab(34.51, 36.93, -64.47)
CIE-LCHlch(34.51, 74.30, 299.81°)
OKLaboklab(45.05% 0.0127 -0.1861)
OKLCHoklch(45.05% 0.187 273.9)
XYZxyz(12.5539, 8.2544, 47.3765)
Luminance0.0826 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B41BA #BAB43B
analogous
#3B81BA #3B41BA #743BBA
triadic
#3B41BA #BA3B41 #41BA3B
tetradic
#3B41BA #BA3B81 #BAB43B #3BBA74
square
#3B41BA #BA3B81 #BAB43B #3BBA74
split-complementary
#3B41BA #BA743B #81BA3B
monochromatic
#1E215D #2C318C #3B41BA #6469CE #9396DD

Accessibility & contrast

On white

7.92
#3B41BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#3B41BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B41BA
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B41BA#FFFFFF#000000##FFFFFF
##3B41BA1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BE
Deuteranopia (green-blind)
#004BB8
Tritanopia (blue-blind)
#006077
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3b41ba;
/* rgb */ color: rgb(59, 65, 186);
/* oklch */ color: oklch(45.0% 0.187 273.9);
Tailwind
colors: {
  custom: {
    50: '#8176d0',
    500: '#3b41ba',
    950: '#000000',
  },
}
SCSS
$custom: #3b41ba;
$custom-light: #8176d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3b41ba",
  "rgb": {
    "r": 59,
    "g": 65,
    "b": 186
  },
  "hsl": {
    "h": 237.165,
    "s": 51.837,
    "l": 48.039
  },
  "oklch": {
    "l": 0.45047,
    "c": 0.18655,
    "h": 273.9
  },
  "luminance": 0.08256
}

Semantic roles & 50–950 ramp

primary
#3B41BA
secondary
#C8C589
accent
#D54DDB
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #3B41BA

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

Preview Lab → · Contrast checker → · Palette generator →

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