#3B4CC5#3B4CC5

#3B4CC5 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 48.0% C 0.188 H 271.2°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#3B4CC5
RGBrgb(59, 76, 197)
HSLhsl(233, 54%, 50%)
HSVhsv(233, 70%, 77%)
CMYKcmyk(70.1%, 61.4%, 0%, 22.7%)
CIE-LABlab(38.07, 33.87, -65.09)
CIE-LCHlch(38.07, 73.37, 297.49°)
OKLaboklab(47.95% 0.004 -0.1878)
OKLCHoklch(47.95% 0.188 271.2)
XYZxyz(14.4627, 10.1285, 54.0053)
Luminance0.1013 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B4CC5 #C5B43B
analogous
#3B91C5 #3B4CC5 #6F3BC5
triadic
#3B4CC5 #C53B4C #4CC53B
tetradic
#3B4CC5 #C53B91 #C5B43B #3BC56F
square
#3B4CC5 #C53B91 #C5B43B #3BC56F
split-complementary
#3B4CC5 #C56F3B #91C53B
monochromatic
#1F2767 #2C3A96 #3B4CC5 #6A77D3 #99A2E1

Accessibility & contrast

On white

6.94
#3B4CC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#3B4CC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B4CC5
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B4CC5#FFFFFF#000000##FFFFFF
##3B4CC51.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C9
Deuteranopia (green-blind)
#0053C3
Tritanopia (blue-blind)
#006B81
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3b4cc5;
/* rgb */ color: rgb(59, 76, 197);
/* oklch */ color: oklch(48.0% 0.188 271.2);
Tailwind
colors: {
  custom: {
    50: '#837ed8',
    500: '#3b4cc5',
    950: '#000000',
  },
}
SCSS
$custom: #3b4cc5;
$custom-light: #837ed8;
$custom-dark: #000000;
JSON
{
  "hex": "#3b4cc5",
  "rgb": {
    "r": 59,
    "g": 76,
    "b": 197
  },
  "hsl": {
    "h": 232.609,
    "s": 54.331,
    "l": 50.196
  },
  "oklch": {
    "l": 0.47951,
    "c": 0.18788,
    "h": 271.2
  },
  "luminance": 0.1013
}

Semantic roles & 50–950 ramp

primary
#3B4CC5
secondary
#CDC58F
accent
#CC4ADE
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #3B4CC5

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

Preview Lab → · Contrast checker → · Palette generator →

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