#3351B2#3351B2
#3351B2 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.9% C 0.158 H 267.1°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).
Color values
| HEX | #3351B2 |
|---|---|
| RGB | rgb(51, 81, 178) |
| HSL | hsl(226, 55%, 45%) |
| HSV | hsv(226, 71%, 70%) |
| CMYK | cmyk(71.3%, 54.5%, 0%, 30.2%) |
| CIE-LAB | lab(37.48, 22.65, -54.92) |
| CIE-LCH | lch(37.48, 59.41, 292.41°) |
| OKLab | oklab(46.94% -0.008 -0.1581) |
| OKLCH | oklch(46.94% 0.158 267.1) |
| XYZ | xyz(12.3408, 9.8018, 43.3524) |
| Luminance | 0.0980 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.90
Cobalt
#0047AB
ΔE00 4.23
Blue Blue
#2242C7
ΔE00 5.55
Denim Blue
#3B5B92
ΔE00 5.70
Cobalt (survey)
#1E488F
ΔE00 5.99
Dusk Blue
#26538D
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3351B2 #B29433
analogous
#3390B2 #3351B2 #5533B2
triadic
#3351B2 #B23351 #51B233
tetradic
#3351B2 #B23390 #B29433 #33B255
square
#3351B2 #B23390 #B29433 #33B255
split-complementary
#3351B2 #B25533 #90B233
monochromatic
#182653 #253B82 #3351B2 #5471CE #8498DC
Accessibility & contrast
On white
7.09
#3351B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#3351B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3351B2
7.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3351B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3351B2 | 1.00 | 7.09 | 2.96 | 7.09 |
| #FFFFFF | 7.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#015EB5
Deuteranopia (green-blind)
#0053B0
Tritanopia (blue-blind)
#006879
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #3351b2; /* rgb */ color: rgb(51, 81, 178); /* oklch */ color: oklch(46.9% 0.158 267.1);
Tailwind
colors: {
custom: {
50: '#7b81ca',
500: '#3351b2',
950: '#000000',
},
}SCSS
$custom: #3351b2; $custom-light: #7b81ca; $custom-dark: #000000;
JSON
{
"hex": "#3351b2",
"rgb": {
"r": 51,
"g": 81,
"b": 178
},
"hsl": {
"h": 225.827,
"s": 55.459,
"l": 44.902
},
"oklch": {
"l": 0.46941,
"c": 0.15828,
"h": 267.1
},
"luminance": 0.09803
}Semantic roles & 50–950 ramp
primary
#3351B2
secondary
#C5B47C
accent
#BB49DF
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82