#3351C2#3351C2
#3351C2 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.2% C 0.180 H 267.7°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).
Color values
| HEX | #3351C2 |
|---|---|
| RGB | rgb(51, 81, 194) |
| HSL | hsl(227, 58%, 48%) |
| HSV | hsv(227, 74%, 76%) |
| CMYK | cmyk(73.7%, 58.2%, 0%, 23.9%) |
| CIE-LAB | lab(38.69, 28.57, -62.34) |
| CIE-LCH | lch(38.69, 68.58, 294.62°) |
| OKLab | oklab(48.23% -0.0073 -0.1799) |
| OKLCH | oklch(48.23% 0.18 267.7) |
| XYZ | xyz(14.0419, 10.4822, 52.3117) |
| Luminance | 0.1048 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.60
Blue Blue
#2242C7
ΔE00 4.57
Warm Blue
#4B57DB
ΔE00 5.04
Blue (survey)
#0343DF
ΔE00 5.30
Cobalt
#0047AB
ΔE00 5.46
Azul
#1D5DEC
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3351C2 #C2A433
analogous
#3398C2 #3351C2 #5D33C2
triadic
#3351C2 #C23351 #51C233
tetradic
#3351C2 #C23398 #C2A433 #33C25D
square
#3351C2 #C23398 #C2A433 #33C25D
split-complementary
#3351C2 #C25D33 #98C233
monochromatic
#1A2961 #263D92 #3351C2 #5E77D5 #8EA0E1
Accessibility & contrast
On white
6.78
#3351C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#3351C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3351C2
6.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3351C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3351C2 | 1.00 | 6.78 | 3.10 | 6.78 |
| #FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C6
Deuteranopia (green-blind)
#0055C0
Tritanopia (blue-blind)
#006D81
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #3351c2; /* rgb */ color: rgb(51, 81, 194); /* oklch */ color: oklch(48.2% 0.180 267.7);
Tailwind
colors: {
custom: {
50: '#7f81d5',
500: '#3351c2',
950: '#000000',
},
}SCSS
$custom: #3351c2; $custom-light: #7f81d5; $custom-dark: #000000;
JSON
{
"hex": "#3351c2",
"rgb": {
"r": 51,
"g": 81,
"b": 194
},
"hsl": {
"h": 227.413,
"s": 58.367,
"l": 48.039
},
"oklch": {
"l": 0.4823,
"c": 0.18004,
"h": 267.7
},
"luminance": 0.10484
}Semantic roles & 50–950 ramp
primary
#3351C2
secondary
#CCBD85
accent
#C146E2
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0B0A14
muted
#7C7C83