#3354C2#3354C2
#3354C2 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.8% C 0.176 H 266.9°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).
Color values
| HEX | #3354C2 |
|---|---|
| RGB | rgb(51, 84, 194) |
| HSL | hsl(226, 58%, 48%) |
| HSV | hsv(226, 74%, 76%) |
| CMYK | cmyk(73.7%, 56.7%, 0%, 23.9%) |
| CIE-LAB | lab(39.48, 26.62, -61.07) |
| CIE-LCH | lch(39.48, 66.62, 293.56°) |
| OKLab | oklab(48.82% -0.0095 -0.1761) |
| OKLCH | oklch(48.82% 0.176 266.9) |
| XYZ | xyz(14.2698, 10.9380, 52.3877) |
| Luminance | 0.1094 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.27
Warm Blue
#4B57DB
ΔE00 4.98
Blue Blue
#2242C7
ΔE00 5.55
Cobalt
#0047AB
ΔE00 5.82
Azul
#1D5DEC
ΔE00 5.85
Blue (survey)
#0343DF
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3354C2 #C2A133
analogous
#339BC2 #3354C2 #5A33C2
triadic
#3354C2 #C23354 #54C233
tetradic
#3354C2 #C2339B #C2A133 #33C25A
square
#3354C2 #C2339B #C2A133 #33C25A
split-complementary
#3354C2 #C25A33 #9BC233
monochromatic
#1A2A61 #263F92 #3354C2 #5E79D5 #8EA1E1
Accessibility & contrast
On white
6.59
#3354C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#3354C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3354C2
6.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3354C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3354C2 | 1.00 | 6.59 | 3.19 | 6.59 |
| #FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064C6
Deuteranopia (green-blind)
#0057C0
Tritanopia (blue-blind)
#006F83
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #3354c2; /* rgb */ color: rgb(51, 84, 194); /* oklch */ color: oklch(48.8% 0.176 266.9);
Tailwind
colors: {
custom: {
50: '#7e83d5',
500: '#3354c2',
950: '#000000',
},
}SCSS
$custom: #3354c2; $custom-light: #7e83d5; $custom-dark: #000000;
JSON
{
"hex": "#3354c2",
"rgb": {
"r": 51,
"g": 84,
"b": 194
},
"hsl": {
"h": 226.154,
"s": 58.367,
"l": 48.039
},
"oklch": {
"l": 0.48815,
"c": 0.17637,
"h": 266.9
},
"luminance": 0.10939
}Semantic roles & 50–950 ramp
primary
#3354C2
secondary
#CCBB85
accent
#BE46E2
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0B0A14
muted
#7C7C83