#3354BF#3354BF
#3354BF is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.6% C 0.172 H 266.8°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).
Color values
| HEX | #3354BF |
|---|---|
| RGB | rgb(51, 84, 191) |
| HSL | hsl(226, 58%, 47%) |
| HSV | hsv(226, 73%, 75%) |
| CMYK | cmyk(73.3%, 56%, 0%, 25.1%) |
| CIE-LAB | lab(39.25, 25.51, -59.69) |
| CIE-LCH | lch(39.25, 64.91, 293.14°) |
| OKLab | oklab(48.57% -0.0096 -0.1721) |
| OKLCH | oklch(48.57% 0.172 266.8) |
| XYZ | xyz(13.9363, 10.8046, 50.6311) |
| Luminance | 0.1081 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.04
Warm Blue
#4B57DB
ΔE00 5.35
Cobalt
#0047AB
ΔE00 5.56
Blue Blue
#2242C7
ΔE00 5.65
Denim
#1560BD
ΔE00 6.02
Azul
#1D5DEC
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3354BF #BF9E33
analogous
#339ABF #3354BF #5833BF
triadic
#3354BF #BF3354 #54BF33
tetradic
#3354BF #BF339A #BF9E33 #33BF58
square
#3354BF #BF339A #BF9E33 #33BF58
split-complementary
#3354BF #BF5833 #9ABF33
monochromatic
#192A5E #263F8F #3354BF #5C78D3 #8CA0E0
Accessibility & contrast
On white
6.64
#3354BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.16
#3354BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3354BF
6.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3354BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3354BF | 1.00 | 6.64 | 3.16 | 6.64 |
| #FFFFFF | 6.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063C3
Deuteranopia (green-blind)
#0056BD
Tritanopia (blue-blind)
#006E81
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #3354bf; /* rgb */ color: rgb(51, 84, 191); /* oklch */ color: oklch(48.6% 0.172 266.8);
Tailwind
colors: {
custom: {
50: '#7e83d3',
500: '#3354bf',
950: '#000000',
},
}SCSS
$custom: #3354bf; $custom-light: #7e83d3; $custom-dark: #000000;
JSON
{
"hex": "#3354bf",
"rgb": {
"r": 51,
"g": 84,
"b": 191
},
"hsl": {
"h": 225.857,
"s": 57.851,
"l": 47.451
},
"oklch": {
"l": 0.48574,
"c": 0.17233,
"h": 266.8
},
"luminance": 0.10806
}Semantic roles & 50–950 ramp
primary
#3354BF
secondary
#CBBA83
accent
#BD47E1
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0A14
muted
#7C7C83