#3B4DC7#3B4DC7

#3B4DC7 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.3% C 0.189 H 271.0°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#3B4DC7
RGBrgb(59, 77, 199)
HSLhsl(232, 56%, 51%)
HSVhsv(232, 70%, 78%)
CMYKcmyk(70.4%, 61.3%, 0%, 22%)
CIE-LABlab(38.48, 33.94, -65.58)
CIE-LCHlch(38.48, 73.85, 297.36°)
OKLaboklab(48.3% 0.0033 -0.1893)
OKLCHoklch(48.3% 0.189 271)
XYZxyz(14.7628, 10.3596, 55.2433)
Luminance0.1036 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B4DC7 #C7B53B
analogous
#3B93C7 #3B4DC7 #6F3BC7
triadic
#3B4DC7 #C73B4D #4DC73B
tetradic
#3B4DC7 #C73B93 #C7B53B #3BC76F
square
#3B4DC7 #C73B93 #C7B53B #3BC76F
split-complementary
#3B4DC7 #C76F3B #93C73B
monochromatic
#1E2869 #2C3A99 #3B4DC7 #6B78D5 #9AA3E2

Accessibility & contrast

On white

6.84
#3B4DC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#3B4DC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B4DC7
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B4DC7#FFFFFF#000000##FFFFFF
##3B4DC71.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CB
Deuteranopia (green-blind)
#0054C5
Tritanopia (blue-blind)
#006C82
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3b4dc7;
/* rgb */ color: rgb(59, 77, 199);
/* oklch */ color: oklch(48.3% 0.189 271.0);
Tailwind
colors: {
  custom: {
    50: '#837ed9',
    500: '#3b4dc7',
    950: '#000000',
  },
}
SCSS
$custom: #3b4dc7;
$custom-light: #837ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#3b4dc7",
  "rgb": {
    "r": 59,
    "g": 77,
    "b": 199
  },
  "hsl": {
    "h": 232.286,
    "s": 55.556,
    "l": 50.588
  },
  "oklch": {
    "l": 0.48303,
    "c": 0.18932,
    "h": 271
  },
  "luminance": 0.10361
}

Semantic roles & 50–950 ramp

primary
#3B4DC7
secondary
#CEC690
accent
#CC49DF
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3B4DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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