#3351C5#3351C5
#3351C5 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.5% C 0.184 H 267.8°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).
Color values
| HEX | #3351C5 |
|---|---|
| RGB | rgb(51, 81, 197) |
| HSL | hsl(228, 59%, 49%) |
| HSV | hsv(228, 74%, 77%) |
| CMYK | cmyk(74.1%, 58.9%, 0%, 22.7%) |
| CIE-LAB | lab(38.93, 29.67, -63.70) |
| CIE-LCH | lch(38.93, 70.28, 294.98°) |
| OKLab | oklab(48.48% -0.0072 -0.1839) |
| OKLCH | oklch(48.48% 0.184 267.8) |
| XYZ | xyz(14.3822, 10.6183, 54.1041) |
| Luminance | 0.1062 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.86
Blue Blue
#2242C7
ΔE00 4.51
Warm Blue
#4B57DB
ΔE00 4.70
Blue (survey)
#0343DF
ΔE00 5.04
Cobalt
#0047AB
ΔE00 5.76
Azul
#1D5DEC
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3351C5 #C5A733
analogous
#339AC5 #3351C5 #5E33C5
triadic
#3351C5 #C53351 #51C533
tetradic
#3351C5 #C5339A #C5A733 #33C55E
square
#3351C5 #C5339A #C5A733 #33C55E
split-complementary
#3351C5 #C55E33 #9AC533
monochromatic
#1A2964 #263D94 #3351C5 #5F78D6 #90A1E2
Accessibility & contrast
On white
6.72
#3351C5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#3351C5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3351C5
6.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3351C5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3351C5 | 1.00 | 6.72 | 3.12 | 6.72 |
| #FFFFFF | 6.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063C9
Deuteranopia (green-blind)
#0055C3
Tritanopia (blue-blind)
#006E83
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #3351c5; /* rgb */ color: rgb(51, 81, 197); /* oklch */ color: oklch(48.5% 0.184 267.8);
Tailwind
colors: {
custom: {
50: '#7f81d7',
500: '#3351c5',
950: '#000000',
},
}SCSS
$custom: #3351c5; $custom-light: #7f81d7; $custom-dark: #000000;
JSON
{
"hex": "#3351c5",
"rgb": {
"r": 51,
"g": 81,
"b": 197
},
"hsl": {
"h": 227.671,
"s": 58.871,
"l": 48.627
},
"oklch": {
"l": 0.4848,
"c": 0.18404,
"h": 267.8
},
"luminance": 0.1062
}Semantic roles & 50–950 ramp
primary
#3351C5
secondary
#CDBF87
accent
#C246E2
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A15
muted
#7D7C83