#3B41B9#3B41B9

#3B41B9 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 45.0% C 0.185 H 273.9°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#3B41B9
RGBrgb(59, 65, 185)
HSLhsl(237, 52%, 48%)
HSVhsv(237, 68%, 73%)
CMYKcmyk(68.1%, 64.9%, 0%, 27.5%)
CIE-LABlab(34.42, 36.59, -64.02)
CIE-LCHlch(34.42, 73.74, 299.75°)
OKLaboklab(44.96% 0.0127 -0.1848)
OKLCHoklch(44.96% 0.185 273.9)
XYZxyz(12.4480, 8.2120, 46.8186)
Luminance0.0821 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B41B9 #B9B33B
analogous
#3B80B9 #3B41B9 #743BB9
triadic
#3B41B9 #B93B41 #41B93B
tetradic
#3B41B9 #B93B80 #B9B33B #3BB974
square
#3B41B9 #B93B80 #B9B33B #3BB974
split-complementary
#3B41B9 #B9743B #80B93B
monochromatic
#1D205C #2C318B #3B41B9 #6469CD #9296DC

Accessibility & contrast

On white

7.95
#3B41B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#3B41B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B41B9
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B41B9#FFFFFF#000000##FFFFFF
##3B41B91.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3b41b9;
/* rgb */ color: rgb(59, 65, 185);
/* oklch */ color: oklch(45.0% 0.185 273.9);
Tailwind
colors: {
  custom: {
    50: '#8176cf',
    500: '#3b41b9',
    950: '#000000',
  },
}
SCSS
$custom: #3b41b9;
$custom-light: #8176cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3b41b9",
  "rgb": {
    "r": 59,
    "g": 65,
    "b": 185
  },
  "hsl": {
    "h": 237.143,
    "s": 51.639,
    "l": 47.843
  },
  "oklch": {
    "l": 0.44957,
    "c": 0.18524,
    "h": 273.9
  },
  "luminance": 0.08213
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3B41B9

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

Preview Lab → · Contrast checker → · Palette generator →

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