#374FAF#374FAF
#374FAF is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.5% C 0.155 H 269.0°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).
Color values
| HEX | #374FAF |
|---|---|
| RGB | rgb(55, 79, 175) |
| HSL | hsl(228, 52%, 45%) |
| HSV | hsv(228, 69%, 69%) |
| CMYK | cmyk(68.6%, 54.9%, 0%, 31.4%) |
| CIE-LAB | lab(36.93, 23.44, -54.04) |
| CIE-LCH | lch(36.93, 58.91, 293.45°) |
| OKLab | oklab(46.51% -0.0028 -0.1554) |
| OKLCH | oklch(46.51% 0.155 269) |
| XYZ | xyz(12.1067, 9.4982, 41.7444) |
| Luminance | 0.0950 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.80
Cobalt
#0047AB
ΔE00 4.28
Blue Blue
#2242C7
ΔE00 5.21
Cobalt (survey)
#1E488F
ΔE00 5.91
Denim Blue
#3B5B92
ΔE00 6.12
Ocean Blue
#4F42B5
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#374FAF #AF9737
analogous
#378BAF #374FAF #5B37AF
triadic
#374FAF #AF374F #4FAF37
tetradic
#374FAF #AF378B #AF9737 #37AF5B
square
#374FAF #AF378B #AF9737 #37AF5B
split-complementary
#374FAF #AF5B37 #8BAF37
monochromatic
#1A2552 #283A80 #374FAF #596FCB #8798D9
Accessibility & contrast
On white
7.24
#374FAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.90
#374FAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #374FAF
7.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##374FAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##374FAF | 1.00 | 7.24 | 2.90 | 7.24 |
| #FFFFFF | 7.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#015DB2
Deuteranopia (green-blind)
#0052AD
Tritanopia (blue-blind)
#006677
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #374faf; /* rgb */ color: rgb(55, 79, 175); /* oklch */ color: oklch(46.5% 0.155 269.0);
Tailwind
colors: {
custom: {
50: '#7c80c8',
500: '#374faf',
950: '#000000',
},
}SCSS
$custom: #374faf; $custom-light: #7c80c8; $custom-dark: #000000;
JSON
{
"hex": "#374faf",
"rgb": {
"r": 55,
"g": 79,
"b": 175
},
"hsl": {
"h": 228,
"s": 52.174,
"l": 45.098
},
"oklch": {
"l": 0.46506,
"c": 0.15545,
"h": 269
},
"luminance": 0.09499
}Semantic roles & 50–950 ramp
primary
#374FAF
secondary
#C3B67F
accent
#BF4CDC
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82