#3B5CCC#3B5CCC
#3B5CCC is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.6% C 0.178 H 267.4°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).
Color values
| HEX | #3B5CCC |
|---|---|
| RGB | rgb(59, 92, 204) |
| HSL | hsl(226, 59%, 52%) |
| HSV | hsv(226, 71%, 80%) |
| CMYK | cmyk(71.1%, 54.9%, 0%, 20%) |
| CIE-LAB | lab(42.68, 26.16, -61.65) |
| CIE-LCH | lch(42.68, 66.97, 292.99°) |
| OKLab | oklab(51.55% -0.0081 -0.1775) |
| OKLCH | oklch(51.55% 0.178 267.4) |
| XYZ | xyz(16.5261, 12.9420, 58.7421) |
| Luminance | 0.1294 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Azul
#1D5DEC
ΔE00 3.83
Warm Blue
#4B57DB
ΔE00 3.94
Royal Blue
#4169E1
ΔE00 5.15
Sapphire
#0F52BA
ΔE00 5.23
Denim
#1560BD
ΔE00 5.50
Electric Blue
#0652FF
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3B5CCC #CCAB3B
analogous
#3BA5CC #3B5CCC #633BCC
triadic
#3B5CCC #CC3B5C #5CCC3B
tetradic
#3B5CCC #CC3BA5 #CCAB3B #3BCC63
square
#3B5CCC #CC3BA5 #CCAB3B #3BCC63
split-complementary
#3B5CCC #CC633B #A5CC3B
monochromatic
#1D3070 #2A45A0 #3B5CCC #6C84D9 #9CADE5
Accessibility & contrast
On white
5.85
#3B5CCC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#3B5CCC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3B5CCC
5.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3B5CCC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3B5CCC | 1.00 | 5.85 | 3.59 | 5.85 |
| #FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CD0
Deuteranopia (green-blind)
#005ECA
Tritanopia (blue-blind)
#00778B
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #3b5ccc; /* rgb */ color: rgb(59, 92, 204); /* oklch */ color: oklch(51.6% 0.178 267.4);
Tailwind
colors: {
custom: {
50: '#8389dc',
500: '#3b5ccc',
950: '#000000',
},
}SCSS
$custom: #3b5ccc; $custom-light: #8389dc; $custom-dark: #000000;
JSON
{
"hex": "#3b5ccc",
"rgb": {
"r": 59,
"g": 92,
"b": 204
},
"hsl": {
"h": 226.345,
"s": 58.704,
"l": 51.569
},
"oklch": {
"l": 0.51553,
"c": 0.17773,
"h": 267.4
},
"luminance": 0.12944
}Semantic roles & 50–950 ramp
primary
#3B5CCC
secondary
#D1C392
accent
#BE46E2
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0B15
muted
#7D7C83