#3B51CA#3B51CA
#3B51CA is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.3% C 0.188 H 270.1°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).
Color values
| HEX | #3B51CA |
|---|---|
| RGB | rgb(59, 81, 202) |
| HSL | hsl(231, 57%, 51%) |
| HSV | hsv(231, 71%, 79%) |
| CMYK | cmyk(70.8%, 59.9%, 0%, 20.8%) |
| CIE-LAB | lab(39.71, 32.47, -65.32) |
| CIE-LCH | lch(39.71, 72.94, 296.43°) |
| OKLab | oklab(49.29% 0.0003 -0.1885) |
| OKLCH | oklch(49.29% 0.188 270.1) |
| XYZ | xyz(15.4031, 11.0774, 57.1921) |
| Luminance | 0.1108 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.60
Blue Blue
#2242C7
ΔE00 4.61
Blue (survey)
#0343DF
ΔE00 4.77
Sapphire
#0F52BA
ΔE00 5.14
Azul
#1D5DEC
ΔE00 5.88
Iris
#6258C4
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3B51CA #CAB43B
analogous
#3B98CA #3B51CA #6C3BCA
triadic
#3B51CA #CA3B51 #51CA3B
tetradic
#3B51CA #CA3B98 #CAB43B #3BCA6C
square
#3B51CA #CA3B98 #CAB43B #3BCA6C
split-complementary
#3B51CA #CA6C3B #98CA3B
monochromatic
#1E2A6D #2B3C9D #3B51CA #6B7CD7 #9BA7E4
Accessibility & contrast
On white
6.53
#3B51CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.22
#3B51CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3B51CA
6.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3B51CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3B51CA | 1.00 | 6.53 | 3.22 | 6.53 |
| #FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064CE
Deuteranopia (green-blind)
#0057C8
Tritanopia (blue-blind)
#006F86
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #3b51ca; /* rgb */ color: rgb(59, 81, 202); /* oklch */ color: oklch(49.3% 0.188 270.1);
Tailwind
colors: {
custom: {
50: '#8381db',
500: '#3b51ca',
950: '#000000',
},
}SCSS
$custom: #3b51ca; $custom-light: #8381db; $custom-dark: #000000;
JSON
{
"hex": "#3b51ca",
"rgb": {
"r": 59,
"g": 81,
"b": 202
},
"hsl": {
"h": 230.769,
"s": 57.43,
"l": 51.176
},
"oklch": {
"l": 0.49289,
"c": 0.18846,
"h": 270.1
},
"luminance": 0.11079
}Semantic roles & 50–950 ramp
primary
#3B51CA
secondary
#D0C691
accent
#C947E1
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83