#374FB7#374FB7
#374FB7 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.1% C 0.167 H 269.2°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).
Color values
| HEX | #374FB7 |
|---|---|
| RGB | rgb(55, 79, 183) |
| HSL | hsl(229, 54%, 47%) |
| HSV | hsv(229, 70%, 72%) |
| CMYK | cmyk(69.9%, 56.8%, 0%, 28.2%) |
| CIE-LAB | lab(37.52, 26.37, -57.80) |
| CIE-LCH | lch(37.52, 63.53, 294.52°) |
| OKLab | oklab(47.14% -0.0024 -0.1665) |
| OKLCH | oklch(47.14% 0.167 269.2) |
| XYZ | xyz(12.9158, 9.8218, 46.0057) |
| Luminance | 0.0982 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.84
Blue Blue
#2242C7
ΔE00 4.51
Cobalt
#0047AB
ΔE00 4.73
Blue (survey)
#0343DF
ΔE00 6.01
Ocean Blue
#4F42B5
ΔE00 6.14
Warm Blue
#4B57DB
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#374FB7 #B79F37
analogous
#378FB7 #374FB7 #5F37B7
triadic
#374FB7 #B7374F #4FB737
tetradic
#374FB7 #B7378F #B79F37 #37B75F
square
#374FB7 #B7378F #B79F37 #37B75F
split-complementary
#374FB7 #B75F37 #8FB737
monochromatic
#1B2659 #293B88 #374FB7 #5D72CE #8C9BDC
Accessibility & contrast
On white
7.08
#374FB7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#374FB7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #374FB7
7.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##374FB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##374FB7 | 1.00 | 7.08 | 2.96 | 7.08 |
| #FFFFFF | 7.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EBB
Deuteranopia (green-blind)
#0053B5
Tritanopia (blue-blind)
#00687B
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #374fb7; /* rgb */ color: rgb(55, 79, 183); /* oklch */ color: oklch(47.1% 0.167 269.2);
Tailwind
colors: {
custom: {
50: '#7e80cd',
500: '#374fb7',
950: '#000000',
},
}SCSS
$custom: #374fb7; $custom-light: #7e80cd; $custom-dark: #000000;
JSON
{
"hex": "#374fb7",
"rgb": {
"r": 55,
"g": 79,
"b": 183
},
"hsl": {
"h": 228.75,
"s": 53.782,
"l": 46.667
},
"oklch": {
"l": 0.4714,
"c": 0.16651,
"h": 269.2
},
"luminance": 0.09823
}Semantic roles & 50–950 ramp
primary
#374FB7
secondary
#C7BA83
accent
#C24BDD
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82