#374AB7#374AB7
#374AB7 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.2% C 0.173 H 270.5°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).
Color values
| HEX | #374AB7 |
|---|---|
| RGB | rgb(55, 74, 183) |
| HSL | hsl(231, 54%, 47%) |
| HSV | hsv(231, 70%, 72%) |
| CMYK | cmyk(69.9%, 59.6%, 0%, 28.2%) |
| CIE-LAB | lab(36.23, 29.61, -59.90) |
| CIE-LCH | lch(36.23, 66.82, 296.30°) |
| OKLab | oklab(46.18% 0.0016 -0.1727) |
| OKLCH | oklch(46.18% 0.173 270.5) |
| XYZ | xyz(12.5687, 9.1274, 45.8900) |
| Luminance | 0.0913 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.25
Cobalt
#0047AB
ΔE00 4.75
Ocean Blue
#4F42B5
ΔE00 4.79
Sapphire
#0F52BA
ΔE00 5.01
Blue (survey)
#0343DF
ΔE00 5.30
Sapphire (survey)
#2138AB
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#374AB7 #B7A437
analogous
#378AB7 #374AB7 #6437B7
triadic
#374AB7 #B7374A #4AB737
tetradic
#374AB7 #B7378A #B7A437 #37B764
square
#374AB7 #B7378A #B7A437 #37B764
split-complementary
#374AB7 #B76437 #8AB737
monochromatic
#1B2459 #293788 #374AB7 #5D6ECE #8C98DC
Accessibility & contrast
On white
7.43
#374AB7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.83
#374AB7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #374AB7
7.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##374AB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##374AB7 | 1.00 | 7.43 | 2.83 | 7.43 |
| #FFFFFF | 7.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BBB
Deuteranopia (green-blind)
#0050B5
Tritanopia (blue-blind)
#006579
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #374ab7; /* rgb */ color: rgb(55, 74, 183); /* oklch */ color: oklch(46.2% 0.173 270.5);
Tailwind
colors: {
custom: {
50: '#7e7ccd',
500: '#374ab7',
950: '#000000',
},
}SCSS
$custom: #374ab7; $custom-light: #7e7ccd; $custom-dark: #000000;
JSON
{
"hex": "#374ab7",
"rgb": {
"r": 55,
"g": 74,
"b": 183
},
"hsl": {
"h": 231.094,
"s": 53.782,
"l": 46.667
},
"oklch": {
"l": 0.46176,
"c": 0.17274,
"h": 270.5
},
"luminance": 0.09129
}Semantic roles & 50–950 ramp
primary
#374AB7
secondary
#C7BD83
accent
#C74BDD
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82