#3366E2#3366E2
#3366E2 is a mid, vivid blue. Relative luminance 0.157; OKLCH L 54.9% C 0.197 H 264.1°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #3366E2 |
|---|---|
| RGB | rgb(51, 102, 226) |
| HSL | hsl(223, 75%, 54%) |
| HSV | hsv(223, 77%, 89%) |
| CMYK | cmyk(77.4%, 54.9%, 0%, 11.4%) |
| CIE-LAB | lab(46.57, 26.89, -67.90) |
| CIE-LCH | lch(46.57, 73.03, 291.61°) |
| OKLab | oklab(54.91% -0.0204 -0.1959) |
| OKLCH | oklch(54.91% 0.197 264.1) |
| XYZ | xyz(19.8392, 15.6952, 73.9206) |
| Luminance | 0.1570 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 1.49
Bright Blue
#0165FC
ΔE00 2.79
Azul
#1D5DEC
ΔE00 3.06
Cerulean Blue
#056EEE
ΔE00 3.90
Cornflower Blue
#5170D7
ΔE00 4.14
Warm Blue
#4B57DB
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3366E2 #E2AF33
analogous
#33BEE2 #3366E2 #5833E2
triadic
#3366E2 #E23366 #66E233
tetradic
#3366E2 #E233BE #E2AF33 #33E258
square
#3366E2 #E233BE #E2AF33 #33E258
split-complementary
#3366E2 #E25833 #BEE233
monochromatic
#133587 #1B4ABD #3366E2 #698EEA #9EB6F1
Accessibility & contrast
On white
5.07
#3366E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#3366E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3366E2
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3366E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3366E2 | 1.00 | 5.07 | 4.14 | 5.07 |
| #FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0077E6
Deuteranopia (green-blind)
#0067E0
Tritanopia (blue-blind)
#00859A
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #3366e2; /* rgb */ color: rgb(51, 102, 226); /* oklch */ color: oklch(54.9% 0.197 264.1);
Tailwind
colors: {
custom: {
50: '#8491ec',
500: '#3366e2',
950: '#000000',
},
}SCSS
$custom: #3366e2; $custom-light: #8491ec; $custom-dark: #000000;
JSON
{
"hex": "#3366e2",
"rgb": {
"r": 51,
"g": 102,
"b": 226
},
"hsl": {
"h": 222.514,
"s": 75.107,
"l": 54.314
},
"oklch": {
"l": 0.54906,
"c": 0.19695,
"h": 264.1
},
"luminance": 0.15698
}Semantic roles & 50–950 ramp
primary
#3366E2
secondary
#DEC893
accent
#BB36F2
background
#F9F8FE
surface
#F1F0FD
border
#CBCBD5
text
#0D0C16
muted
#7E7D84