#374AA1#374AA1
#374AA1 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.4% C 0.142 H 270.3°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).
Color values
| HEX | #374AA1 |
|---|---|
| RGB | rgb(55, 74, 161) |
| HSL | hsl(229, 49%, 42%) |
| HSV | hsv(229, 66%, 63%) |
| CMYK | cmyk(65.8%, 54%, 0%, 36.9%) |
| CIE-LAB | lab(34.56, 21.62, -49.51) |
| CIE-LCH | lch(34.56, 54.03, 293.59°) |
| OKLab | oklab(44.41% 0.0009 -0.1422) |
| OKLCH | oklch(44.41% 0.142 270.3) |
| XYZ | xyz(10.4552, 8.2821, 34.7589) |
| Luminance | 0.0828 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 4.12
Cobalt (survey)
#1E488F
ΔE00 4.66
Blueberry
#464196
ΔE00 4.87
Sapphire
#0F52BA
ΔE00 5.46
Sapphire (survey)
#2138AB
ΔE00 5.88
Blue Blue
#2242C7
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#374AA1 #A18E37
analogous
#377FA1 #374AA1 #5937A1
triadic
#374AA1 #A1374A #4AA137
tetradic
#374AA1 #A1377F #A18E37 #37A159
square
#374AA1 #A1377F #A18E37 #37A159
split-complementary
#374AA1 #A15937 #7FA137
monochromatic
#182046 #273573 #374AA1 #5166C4 #7F8ED3
Accessibility & contrast
On white
7.90
#374AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#374AA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #374AA1
7.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##374AA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##374AA1 | 1.00 | 7.90 | 2.66 | 7.90 |
| #FFFFFF | 7.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0F56A4
Deuteranopia (green-blind)
#004D9F
Tritanopia (blue-blind)
#005F6E
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #374aa1; /* rgb */ color: rgb(55, 74, 161); /* oklch */ color: oklch(44.4% 0.142 270.3);
Tailwind
colors: {
custom: {
50: '#7a7cbd',
500: '#374aa1',
950: '#000000',
},
}SCSS
$custom: #374aa1; $custom-light: #7a7cbd; $custom-dark: #000000;
JSON
{
"hex": "#374aa1",
"rgb": {
"r": 55,
"g": 74,
"b": 161
},
"hsl": {
"h": 229.245,
"s": 49.074,
"l": 42.353
},
"oklch": {
"l": 0.44405,
"c": 0.14217,
"h": 270.3
},
"luminance": 0.08283
}Semantic roles & 50–950 ramp
primary
#374AA1
secondary
#BDB077
accent
#C04FD9
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0912
muted
#7C7B81