#3B4CCC#3B4CCC

#3B4CCC is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.6% C 0.197 H 271.1°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#3B4CCC
RGBrgb(59, 76, 204)
HSLhsl(233, 59%, 52%)
HSVhsv(233, 71%, 80%)
CMYKcmyk(71.1%, 62.7%, 0%, 20%)
CIE-LABlab(38.65, 36.33, -68.21)
CIE-LCHlch(38.65, 77.28, 298.04°)
OKLaboklab(48.56% 0.0038 -0.197)
OKLCHoklch(48.56% 0.197 271.1)
XYZxyz(15.2835, 10.4568, 58.3279)
Luminance0.1046 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B4CCC #CCBB3B
analogous
#3B94CC #3B4CCC #733BCC
triadic
#3B4CCC #CC3B4C #4CCC3B
tetradic
#3B4CCC #CC3B94 #CCBB3B #3BCC73
square
#3B4CCC #CC3B94 #CCBB3B #3BCC73
split-complementary
#3B4CCC #CC733B #94CC3B
monochromatic
#1D2770 #2A38A0 #3B4CCC #6C78D9 #9CA5E5

Accessibility & contrast

On white

6.79
#3B4CCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#3B4CCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B4CCC
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B4CCC#FFFFFF#000000##FFFFFF
##3B4CCC1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D0
Deuteranopia (green-blind)
#0054CA
Tritanopia (blue-blind)
#006D85
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3b4ccc;
/* rgb */ color: rgb(59, 76, 204);
/* oklch */ color: oklch(48.6% 0.197 271.1);
Tailwind
colors: {
  custom: {
    50: '#847edd',
    500: '#3b4ccc',
    950: '#000000',
  },
}
SCSS
$custom: #3b4ccc;
$custom-light: #847edd;
$custom-dark: #000000;
JSON
{
  "hex": "#3b4ccc",
  "rgb": {
    "r": 59,
    "g": 76,
    "b": 204
  },
  "hsl": {
    "h": 232.966,
    "s": 58.704,
    "l": 51.569
  },
  "oklch": {
    "l": 0.48556,
    "c": 0.19703,
    "h": 271.1
  },
  "luminance": 0.10458
}

Semantic roles & 50–950 ramp

primary
#3B4CCC
secondary
#D1CA92
accent
#D046E2
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3B4CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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