#3B41BF#3B41BF

#3B41BF is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.5% C 0.193 H 273.6°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#3B41BF
RGBrgb(59, 65, 191)
HSLhsl(237, 53%, 49%)
HSVhsv(237, 69%, 75%)
CMYKcmyk(69.1%, 66%, 0%, 25.1%)
CIE-LABlab(34.94, 38.65, -66.70)
CIE-LCHlch(34.94, 77.09, 300.09°)
OKLaboklab(45.5% 0.0122 -0.1926)
OKLCHoklch(45.5% 0.193 273.6)
XYZxyz(13.0948, 8.4708, 50.2250)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B41BF #BFB93B
analogous
#3B83BF #3B41BF #773BBF
triadic
#3B41BF #BF3B41 #41BF3B
tetradic
#3B41BF #BF3B83 #BFB93B #3BBF77
square
#3B41BF #BF3B83 #BFB93B #3BBF77
split-complementary
#3B41BF #BF773B #83BF3B
monochromatic
#1E2161 #2D3190 #3B41BF #676CD0 #9699DF

Accessibility & contrast

On white

7.79
#3B41BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#3B41BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B41BF
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B41BF#FFFFFF#000000##FFFFFF
##3B41BF1.007.792.697.79
#FFFFFF7.791.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C3
Deuteranopia (green-blind)
#004CBD
Tritanopia (blue-blind)
#00627A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3b41bf;
/* rgb */ color: rgb(59, 65, 191);
/* oklch */ color: oklch(45.5% 0.193 273.6);
Tailwind
colors: {
  custom: {
    50: '#8276d3',
    500: '#3b41bf',
    950: '#000000',
  },
}
SCSS
$custom: #3b41bf;
$custom-light: #8276d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3b41bf",
  "rgb": {
    "r": 59,
    "g": 65,
    "b": 191
  },
  "hsl": {
    "h": 237.273,
    "s": 52.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.455,
    "c": 0.19302,
    "h": 273.6
  },
  "luminance": 0.08472
}

Semantic roles & 50–950 ramp

primary
#3B41BF
secondary
#CAC78C
accent
#D64CDC
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3B41BF

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

Preview Lab → · Contrast checker → · Palette generator →

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