#354FB2#354FB2
#354FB2 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.6% C 0.160 H 268.4°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).
Color values
| HEX | #354FB2 |
|---|---|
| RGB | rgb(53, 79, 178) |
| HSL | hsl(228, 54%, 45%) |
| HSV | hsv(228, 70%, 70%) |
| CMYK | cmyk(70.2%, 55.6%, 0%, 30.2%) |
| CIE-LAB | lab(37.04, 24.25, -55.63) |
| CIE-LCH | lch(37.04, 60.68, 293.55°) |
| OKLab | oklab(46.64% -0.0045 -0.1601) |
| OKLCH | oklch(46.64% 0.16 268.4) |
| XYZ | xyz(12.2973, 9.5620, 43.3084) |
| Luminance | 0.0956 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.52
Cobalt
#0047AB
ΔE00 4.20
Blue Blue
#2242C7
ΔE00 4.94
Cobalt (survey)
#1E488F
ΔE00 6.09
Denim Blue
#3B5B92
ΔE00 6.30
Ocean Blue
#4F42B5
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#354FB2 #B29835
analogous
#358DB2 #354FB2 #5935B2
triadic
#354FB2 #B2354F #4FB235
tetradic
#354FB2 #B2358D #B29835 #35B259
square
#354FB2 #B2358D #B29835 #35B259
split-complementary
#354FB2 #B25935 #8DB235
monochromatic
#192554 #273A83 #354FB2 #5770CD #8698DB
Accessibility & contrast
On white
7.21
#354FB2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#354FB2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #354FB2
7.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##354FB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##354FB2 | 1.00 | 7.21 | 2.91 | 7.21 |
| #FFFFFF | 7.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DB5
Deuteranopia (green-blind)
#0052B0
Tritanopia (blue-blind)
#006779
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #354fb2; /* rgb */ color: rgb(53, 79, 178); /* oklch */ color: oklch(46.6% 0.160 268.4);
Tailwind
colors: {
custom: {
50: '#7c80ca',
500: '#354fb2',
950: '#000000',
},
}SCSS
$custom: #354fb2; $custom-light: #7c80ca; $custom-dark: #000000;
JSON
{
"hex": "#354fb2",
"rgb": {
"r": 53,
"g": 79,
"b": 178
},
"hsl": {
"h": 227.52,
"s": 54.113,
"l": 45.294
},
"oklch": {
"l": 0.46637,
"c": 0.16021,
"h": 268.4
},
"luminance": 0.09563
}Semantic roles & 50–950 ramp
primary
#354FB2
secondary
#C5B67E
accent
#BF4ADD
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82