#354EA1#354EA1
#354EA1 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.1% C 0.138 H 267.9°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).
Color values
| HEX | #354EA1 |
|---|---|
| RGB | rgb(53, 78, 161) |
| HSL | hsl(226, 50%, 42%) |
| HSV | hsv(226, 67%, 63%) |
| CMYK | cmyk(67.1%, 51.6%, 0%, 36.9%) |
| CIE-LAB | lab(35.55, 18.64, -47.92) |
| CIE-LCH | lch(35.55, 51.41, 291.25°) |
| OKLab | oklab(45.12% -0.005 -0.1375) |
| OKLCH | oklch(45.12% 0.138 267.9) |
| XYZ | xyz(10.6234, 8.7779, 34.8458) |
| Luminance | 0.0878 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.94
Cobalt (survey)
#1E488F
ΔE00 4.16
Sapphire
#0F52BA
ΔE00 4.43
Dusk Blue
#26538D
ΔE00 5.18
Denim Blue
#3B5B92
ΔE00 5.19
Dusky Blue
#475F94
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#354EA1 #A18835
analogous
#3584A1 #354EA1 #5235A1
triadic
#354EA1 #A1354E #4EA135
tetradic
#354EA1 #A13584 #A18835 #35A152
square
#354EA1 #A13584 #A18835 #35A152
split-complementary
#354EA1 #A15235 #84A135
monochromatic
#172145 #263873 #354EA1 #4E6AC5 #7C91D4
Accessibility & contrast
On white
7.62
#354EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.76
#354EA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #354EA1
7.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##354EA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##354EA1 | 1.00 | 7.62 | 2.76 | 7.62 |
| #FFFFFF | 7.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D59A4
Deuteranopia (green-blind)
#004F9F
Tritanopia (blue-blind)
#006170
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #354ea1; /* rgb */ color: rgb(53, 78, 161); /* oklch */ color: oklch(45.1% 0.138 267.9);
Tailwind
colors: {
custom: {
50: '#797fbd',
500: '#354ea1',
950: '#000000',
},
}SCSS
$custom: #354ea1; $custom-light: #797fbd; $custom-dark: #000000;
JSON
{
"hex": "#354ea1",
"rgb": {
"r": 53,
"g": 78,
"b": 161
},
"hsl": {
"h": 226.111,
"s": 50.467,
"l": 41.961
},
"oklch": {
"l": 0.45124,
"c": 0.13757,
"h": 267.9
},
"luminance": 0.08779
}Semantic roles & 50–950 ramp
primary
#354EA1
secondary
#BDAC75
accent
#BA4EDA
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0A12
muted
#7C7C81