#3B51CC#3B51CC
#3B51CC is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.5% C 0.191 H 270.1°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).
Color values
| HEX | #3B51CC |
|---|---|
| RGB | rgb(59, 81, 204) |
| HSL | hsl(231, 59%, 52%) |
| HSV | hsv(231, 71%, 80%) |
| CMYK | cmyk(71.1%, 60.3%, 0%, 20%) |
| CIE-LAB | lab(39.87, 33.18, -66.21) |
| CIE-LCH | lch(39.87, 74.06, 296.62°) |
| OKLab | oklab(49.46% 0.0003 -0.1911) |
| OKLCH | oklch(49.46% 0.191 270.1) |
| XYZ | xyz(15.6414, 11.1727, 58.4473) |
| Luminance | 0.1117 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.40
Blue Blue
#2242C7
ΔE00 4.65
Blue (survey)
#0343DF
ΔE00 4.66
Sapphire
#0F52BA
ΔE00 5.31
Azul
#1D5DEC
ΔE00 5.72
Iris
#6258C4
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3B51CC #CCB63B
analogous
#3B99CC #3B51CC #6E3BCC
triadic
#3B51CC #CC3B51 #51CC3B
tetradic
#3B51CC #CC3B99 #CCB63B #3BCC6E
square
#3B51CC #CC3B99 #CCB63B #3BCC6E
split-complementary
#3B51CC #CC6E3B #99CC3B
monochromatic
#1D2A70 #2A3CA0 #3B51CC #6C7CD9 #9CA7E5
Accessibility & contrast
On white
6.49
#3B51CC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#3B51CC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3B51CC
6.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3B51CC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3B51CC | 1.00 | 6.49 | 3.23 | 6.49 |
| #FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065D0
Deuteranopia (green-blind)
#0057CA
Tritanopia (blue-blind)
#007087
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #3b51cc; /* rgb */ color: rgb(59, 81, 204); /* oklch */ color: oklch(49.5% 0.191 270.1);
Tailwind
colors: {
custom: {
50: '#8481dc',
500: '#3b51cc',
950: '#000000',
},
}SCSS
$custom: #3b51cc; $custom-light: #8481dc; $custom-dark: #000000;
JSON
{
"hex": "#3b51cc",
"rgb": {
"r": 59,
"g": 81,
"b": 204
},
"hsl": {
"h": 230.897,
"s": 58.704,
"l": 51.569
},
"oklch": {
"l": 0.49457,
"c": 0.1911,
"h": 270.1
},
"luminance": 0.11174
}Semantic roles & 50–950 ramp
primary
#3B51CC
secondary
#D1C892
accent
#CA46E2
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83