#336FC5#336FC5
#336FC5 is a mid, vivid blue. Relative luminance 0.161; OKLCH L 54.7% C 0.148 H 257.8°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #336FC5 |
|---|---|
| RGB | rgb(51, 111, 197) |
| HSL | hsl(215, 59%, 49%) |
| HSV | hsv(215, 74%, 77%) |
| CMYK | cmyk(74.1%, 43.7%, 0%, 22.7%) |
| CIE-LAB | lab(47.11, 10.38, -50.49) |
| CIE-LCH | lch(47.11, 51.55, 281.62°) |
| OKLab | oklab(54.7% -0.0312 -0.1445) |
| OKLCH | oklch(54.7% 0.148 257.8) |
| XYZ | xyz(17.1240, 16.1020, 55.0180) |
| Luminance | 0.1610 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 1.89
Mid Blue
#276AB3
ΔE00 3.25
French Blue
#436BAD
ΔE00 3.42
Windows Blue
#3778BF
ΔE00 3.57
Flat Blue
#3C73A8
ΔE00 3.75
Bluish
#2976BB
ΔE00 4.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#336FC5 #C58933
analogous
#33B8C5 #336FC5 #4033C5
triadic
#336FC5 #C5336F #6FC533
tetradic
#336FC5 #C533B8 #C58933 #33C540
square
#336FC5 #C533B8 #C58933 #33C540
split-complementary
#336FC5 #C54033 #B8C533
monochromatic
#1A3864 #265494 #336FC5 #5F90D6 #90B2E2
Accessibility & contrast
On white
4.98
#336FC5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.22
#336FC5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #336FC5
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##336FC5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##336FC5 | 1.00 | 4.98 | 4.22 | 4.98 |
| #FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4477C8
Deuteranopia (green-blind)
#2869C3
Tritanopia (blue-blind)
#008390
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #336fc5; /* rgb */ color: rgb(51, 111, 197); /* oklch */ color: oklch(54.7% 0.148 257.8);
Tailwind
colors: {
custom: {
50: '#7e97d7',
500: '#336fc5',
950: '#000000',
},
}SCSS
$custom: #336fc5; $custom-light: #7e97d7; $custom-dark: #000000;
JSON
{
"hex": "#336fc5",
"rgb": {
"r": 51,
"g": 111,
"b": 197
},
"hsl": {
"h": 215.342,
"s": 58.871,
"l": 48.627
},
"oklch": {
"l": 0.54702,
"c": 0.14785,
"h": 257.8
},
"luminance": 0.16104
}Semantic roles & 50–950 ramp
primary
#336FC5
secondary
#CDB087
accent
#A246E2
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D14
muted
#7C7E83