#3B41B6#3B41B6

#3B41B6 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.7% C 0.181 H 274.1°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#3B41B6
RGBrgb(59, 65, 182)
HSLhsl(237, 51%, 47%)
HSVhsv(237, 68%, 71%)
CMYKcmyk(67.6%, 64.3%, 0%, 28.6%)
CIE-LABlab(34.16, 35.55, -62.67)
CIE-LCHlch(34.16, 72.05, 299.56°)
OKLaboklab(44.69% 0.013 -0.1808)
OKLCHoklch(44.69% 0.181 274.1)
XYZxyz(12.1346, 8.0867, 45.1683)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B41B6 #B6B03B
analogous
#3B7FB6 #3B41B6 #723BB6
triadic
#3B41B6 #B63B41 #41B63B
tetradic
#3B41B6 #B63B7F #B6B03B #3BB672
square
#3B41B6 #B63B7F #B6B03B #3BB672
split-complementary
#3B41B6 #B6723B #7FB63B
monochromatic
#1D205A #2C3088 #3B41B6 #6267CC #9094DB

Accessibility & contrast

On white

8.02
#3B41B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#3B41B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B41B6
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B41B6#FFFFFF#000000##FFFFFF
##3B41B61.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BA
Deuteranopia (green-blind)
#004BB4
Tritanopia (blue-blind)
#005F75
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3b41b6;
/* rgb */ color: rgb(59, 65, 182);
/* oklch */ color: oklch(44.7% 0.181 274.1);
Tailwind
colors: {
  custom: {
    50: '#8076cd',
    500: '#3b41b6',
    950: '#000000',
  },
}
SCSS
$custom: #3b41b6;
$custom-light: #8076cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3b41b6",
  "rgb": {
    "r": 59,
    "g": 65,
    "b": 182
  },
  "hsl": {
    "h": 237.073,
    "s": 51.037,
    "l": 47.255
  },
  "oklch": {
    "l": 0.44689,
    "c": 0.1813,
    "h": 274.1
  },
  "luminance": 0.08088
}

Semantic roles & 50–950 ramp

primary
#3B41B6
secondary
#C6C387
accent
#D44DDB
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #3B41B6

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

Preview Lab → · Contrast checker → · Palette generator →

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