#374398#374398
#374398 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.3% C 0.139 H 272.9°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).
Color values
| HEX | #374398 |
|---|---|
| RGB | rgb(55, 67, 152) |
| HSL | hsl(233, 47%, 41%) |
| HSV | hsv(233, 64%, 60%) |
| CMYK | cmyk(63.8%, 55.9%, 0%, 40.4%) |
| CIE-LAB | lab(32.02, 23.00, -48.19) |
| CIE-LCH | lch(32.02, 53.40, 295.52°) |
| OKLab | oklab(42.28% 0.0071 -0.1384) |
| OKLCH | oklch(42.28% 0.139 272.9) |
| XYZ | xyz(9.2483, 7.0928, 30.5813) |
| Luminance | 0.0709 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.10
Sapphire (survey)
#2138AB
ΔE00 4.75
Darkslateblue
#483D8B
ΔE00 4.90
Cobalt (survey)
#1E488F
ΔE00 5.28
Cobalt
#0047AB
ΔE00 5.33
Ocean Blue
#4F42B5
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#374398 #988C37
analogous
#377398 #374398 #5B3798
triadic
#374398 #983743 #439837
tetradic
#374398 #983773 #988C37 #37985B
square
#374398 #983773 #988C37 #37985B
split-complementary
#374398 #985B37 #739837
monochromatic
#161B3E #272F6B #374398 #4D5BBF #7A85CF
Accessibility & contrast
On white
8.68
#374398 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.42
#374398 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #374398
8.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##374398 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##374398 | 1.00 | 8.68 | 2.42 | 8.68 |
| #FFFFFF | 8.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#02509B
Deuteranopia (green-blind)
#004796
Tritanopia (blue-blind)
#005767
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #374398; /* rgb */ color: rgb(55, 67, 152); /* oklch */ color: oklch(42.3% 0.139 272.9);
Tailwind
colors: {
custom: {
50: '#7877b7',
500: '#374398',
950: '#000000',
},
}SCSS
$custom: #374398; $custom-light: #7877b7; $custom-dark: #000000;
JSON
{
"hex": "#374398",
"rgb": {
"r": 55,
"g": 67,
"b": 152
},
"hsl": {
"h": 232.577,
"s": 46.86,
"l": 40.588
},
"oklch": {
"l": 0.42284,
"c": 0.13855,
"h": 272.9
},
"luminance": 0.07094
}Semantic roles & 50–950 ramp
primary
#374398
secondary
#B8AF73
accent
#C651D6
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80