#3B41B8#3B41B8

#3B41B8 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.9% C 0.184 H 274.0°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#3B41B8
RGBrgb(59, 65, 184)
HSLhsl(237, 51%, 48%)
HSVhsv(237, 68%, 72%)
CMYKcmyk(67.9%, 64.7%, 0%, 27.8%)
CIE-LABlab(34.33, 36.24, -63.57)
CIE-LCHlch(34.33, 73.18, 299.68°)
OKLaboklab(44.87% 0.0128 -0.1835)
OKLCHoklch(44.87% 0.184 274)
XYZxyz(12.3428, 8.1700, 46.2646)
Luminance0.0817 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B41B8 #B8B23B
analogous
#3B7FB8 #3B41B8 #733BB8
triadic
#3B41B8 #B83B41 #41B83B
tetradic
#3B41B8 #B83B7F #B8B23B #3BB873
square
#3B41B8 #B83B7F #B8B23B #3BB873
split-complementary
#3B41B8 #B8733B #7FB83B
monochromatic
#1D205B #2C318A #3B41B8 #6368CD #9295DC

Accessibility & contrast

On white

7.97
#3B41B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#3B41B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B41B8
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B41B8#FFFFFF#000000##FFFFFF
##3B41B81.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BC
Deuteranopia (green-blind)
#004BB6
Tritanopia (blue-blind)
#006076
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3b41b8;
/* rgb */ color: rgb(59, 65, 184);
/* oklch */ color: oklch(44.9% 0.184 274.0);
Tailwind
colors: {
  custom: {
    50: '#8176ce',
    500: '#3b41b8',
    950: '#000000',
  },
}
SCSS
$custom: #3b41b8;
$custom-light: #8176ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3b41b8",
  "rgb": {
    "r": 59,
    "g": 65,
    "b": 184
  },
  "hsl": {
    "h": 237.12,
    "s": 51.44,
    "l": 47.647
  },
  "oklch": {
    "l": 0.44868,
    "c": 0.18394,
    "h": 274
  },
  "luminance": 0.08171
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3B41B8

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

Preview Lab → · Contrast checker → · Palette generator →

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