#3B4DBD#3B4DBD

#3B4DBD is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.5% C 0.176 H 271.1°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#3B4DBD
RGBrgb(59, 77, 189)
HSLhsl(232, 52%, 49%)
HSVhsv(232, 69%, 74%)
CMYKcmyk(68.8%, 59.3%, 0%, 25.9%)
CIE-LABlab(37.68, 30.39, -61.05)
CIE-LCHlch(37.68, 68.20, 296.46°)
OKLaboklab(47.46% 0.0034 -0.176)
OKLCHoklch(47.46% 0.176 271.1)
XYZxyz(13.6397, 9.9104, 49.3283)
Luminance0.0991 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B4DBD #BDAB3B
analogous
#3B8EBD #3B4DBD #6A3BBD
triadic
#3B4DBD #BD3B4D #4DBD3B
tetradic
#3B4DBD #BD3B8E #BDAB3B #3BBD6A
square
#3B4DBD #BD3B8E #BDAB3B #3BBD6A
split-complementary
#3B4DBD #BD6A3B #8EBD3B
monochromatic
#1E2760 #2C3A8E #3B4DBD #6675CF #959FDE

Accessibility & contrast

On white

7.04
#3B4DBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#3B4DBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B4DBD
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B4DBD#FFFFFF#000000##FFFFFF
##3B4DBD1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC1
Deuteranopia (green-blind)
#0053BB
Tritanopia (blue-blind)
#00697D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3b4dbd;
/* rgb */ color: rgb(59, 77, 189);
/* oklch */ color: oklch(47.5% 0.176 271.1);
Tailwind
colors: {
  custom: {
    50: '#817ed2',
    500: '#3b4dbd',
    950: '#000000',
  },
}
SCSS
$custom: #3b4dbd;
$custom-light: #817ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#3b4dbd",
  "rgb": {
    "r": 59,
    "g": 77,
    "b": 189
  },
  "hsl": {
    "h": 231.692,
    "s": 52.419,
    "l": 48.627
  },
  "oklch": {
    "l": 0.47462,
    "c": 0.17601,
    "h": 271.1
  },
  "luminance": 0.09912
}

Semantic roles & 50–950 ramp

primary
#3B4DBD
secondary
#C9C08B
accent
#C84CDC
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3B4DBD

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

Preview Lab → · Contrast checker → · Palette generator →

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