#3B4CC4#3B4CC4

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

Color values

HEX#3B4CC4
RGBrgb(59, 76, 196)
HSLhsl(233, 54%, 50%)
HSVhsv(233, 70%, 77%)
CMYKcmyk(69.9%, 61.2%, 0%, 23.1%)
CIE-LABlab(37.99, 33.51, -64.64)
CIE-LCHlch(37.99, 72.81, 297.41°)
OKLaboklab(47.87% 0.0041 -0.1865)
OKLCHoklch(47.87% 0.187 271.2)
XYZxyz(14.3485, 10.0828, 53.4038)
Luminance0.1008 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B4CC4 #C4B33B
analogous
#3B90C4 #3B4CC4 #6F3BC4
triadic
#3B4CC4 #C43B4C #4CC43B
tetradic
#3B4CC4 #C43B90 #C4B33B #3BC46F
square
#3B4CC4 #C43B90 #C4B33B #3BC46F
split-complementary
#3B4CC4 #C46F3B #90C43B
monochromatic
#1F2866 #2D3A95 #3B4CC4 #6A77D2 #99A2E0

Accessibility & contrast

On white

6.96
#3B4CC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#3B4CC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B4CC4
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B4CC4#FFFFFF#000000##FFFFFF
##3B4CC41.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C8
Deuteranopia (green-blind)
#0053C2
Tritanopia (blue-blind)
#006A81
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3b4cc4;
/* rgb */ color: rgb(59, 76, 196);
/* oklch */ color: oklch(47.9% 0.187 271.2);
Tailwind
colors: {
  custom: {
    50: '#837ed7',
    500: '#3b4cc4',
    950: '#000000',
  },
}
SCSS
$custom: #3b4cc4;
$custom-light: #837ed7;
$custom-dark: #000000;
JSON
{
  "hex": "#3b4cc4",
  "rgb": {
    "r": 59,
    "g": 76,
    "b": 196
  },
  "hsl": {
    "h": 232.555,
    "s": 53.725,
    "l": 50
  },
  "oklch": {
    "l": 0.47865,
    "c": 0.18656,
    "h": 271.2
  },
  "luminance": 0.10084
}

Semantic roles & 50–950 ramp

primary
#3B4CC4
secondary
#CCC48F
accent
#CB4BDD
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #3B4CC4

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

Preview Lab → · Contrast checker → · Palette generator →

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