#335CDC#335CDC
#335CDC is a mid, highly saturated blue. Relative luminance 0.135; OKLCH L 52.5% C 0.201 H 266.0°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).
Color values
| HEX | #335CDC |
|---|---|
| RGB | rgb(51, 92, 220) |
| HSL | hsl(225, 71%, 53%) |
| HSV | hsv(225, 77%, 86%) |
| CMYK | cmyk(76.8%, 58.2%, 0%, 13.7%) |
| CIE-LAB | lab(43.54, 31.05, -69.42) |
| CIE-LCH | lch(43.54, 76.05, 294.10°) |
| OKLab | oklab(52.49% -0.0141 -0.2005) |
| OKLCH | oklch(52.49% 0.201 266) |
| XYZ | xyz(18.1061, 13.5233, 69.3523) |
| Luminance | 0.1353 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Azul
#1D5DEC
ΔE00 1.95
Warm Blue
#4B57DB
ΔE00 3.45
Royal Blue
#4169E1
ΔE00 4.41
Electric Blue
#0652FF
ΔE00 4.69
Bright Blue
#0165FC
ΔE00 4.89
Denim
#1560BD
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#335CDC #DCB333
analogous
#33B0DC #335CDC #5E33DC
triadic
#335CDC #DC335C #5CDC33
tetradic
#335CDC #DC33B0 #DCB333 #33DC5E
square
#335CDC #DC33B0 #DCB333 #33DC5E
split-complementary
#335CDC #DC5E33 #B0DC33
monochromatic
#162F7F #1F43B3 #335CDC #6786E5 #9BAFEE
Accessibility & contrast
On white
5.67
#335CDC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.71
#335CDC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #335CDC
5.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##335CDC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##335CDC | 1.00 | 5.67 | 3.71 | 5.67 |
| #FFFFFF | 5.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FE0
Deuteranopia (green-blind)
#005FDA
Tritanopia (blue-blind)
#007C93
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #335cdc; /* rgb */ color: rgb(51, 92, 220); /* oklch */ color: oklch(52.5% 0.201 266.0);
Tailwind
colors: {
custom: {
50: '#8489e8',
500: '#335cdc',
950: '#000000',
},
}SCSS
$custom: #335cdc; $custom-light: #8489e8; $custom-dark: #000000;
JSON
{
"hex": "#335cdc",
"rgb": {
"r": 51,
"g": 92,
"b": 220
},
"hsl": {
"h": 225.444,
"s": 70.711,
"l": 53.137
},
"oklch": {
"l": 0.52487,
"c": 0.20102,
"h": 266
},
"luminance": 0.13525
}Semantic roles & 50–950 ramp
primary
#335CDC
secondary
#DAC891
accent
#C23AED
background
#F8F8FE
surface
#F0F0FD
border
#CBCBD5
text
#0D0B16
muted
#7D7C84