#3354C5#3354C5
#3354C5 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.1% C 0.180 H 267.0°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).
Color values
| HEX | #3354C5 |
|---|---|
| RGB | rgb(51, 84, 197) |
| HSL | hsl(226, 59%, 49%) |
| HSV | hsv(226, 74%, 77%) |
| CMYK | cmyk(74.1%, 57.4%, 0%, 22.7%) |
| CIE-LAB | lab(39.70, 27.73, -62.44) |
| CIE-LCH | lch(39.70, 68.32, 293.95°) |
| OKLab | oklab(49.06% -0.0094 -0.1801) |
| OKLCH | oklch(49.06% 0.18 267) |
| XYZ | xyz(14.6101, 11.0741, 54.1800) |
| Luminance | 0.1108 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.54
Warm Blue
#4B57DB
ΔE00 4.63
Blue Blue
#2242C7
ΔE00 5.48
Azul
#1D5DEC
ΔE00 5.54
Blue (survey)
#0343DF
ΔE00 5.82
Cobalt
#0047AB
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3354C5 #C5A433
analogous
#339DC5 #3354C5 #5B33C5
triadic
#3354C5 #C53354 #54C533
tetradic
#3354C5 #C5339D #C5A433 #33C55B
square
#3354C5 #C5339D #C5A433 #33C55B
split-complementary
#3354C5 #C55B33 #9DC533
monochromatic
#1A2B64 #263F94 #3354C5 #5F7AD6 #90A3E2
Accessibility & contrast
On white
6.53
#3354C5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.22
#3354C5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3354C5
6.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3354C5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3354C5 | 1.00 | 6.53 | 3.22 | 6.53 |
| #FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C9
Deuteranopia (green-blind)
#0057C3
Tritanopia (blue-blind)
#007084
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #3354c5; /* rgb */ color: rgb(51, 84, 197); /* oklch */ color: oklch(49.1% 0.180 267.0);
Tailwind
colors: {
custom: {
50: '#7f83d7',
500: '#3354c5',
950: '#000000',
},
}SCSS
$custom: #3354c5; $custom-light: #7f83d7; $custom-dark: #000000;
JSON
{
"hex": "#3354c5",
"rgb": {
"r": 51,
"g": 84,
"b": 197
},
"hsl": {
"h": 226.438,
"s": 58.871,
"l": 48.627
},
"oklch": {
"l": 0.49059,
"c": 0.18039,
"h": 267
},
"luminance": 0.11076
}Semantic roles & 50–950 ramp
primary
#3354C5
secondary
#CDBD87
accent
#BF46E2
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0A14
muted
#7D7C83