#374181#374181
#374181 is a dark, moderate blue. Relative luminance 0.062; OKLCH L 40.1% C 0.107 H 273.9°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).
Color values
| HEX | #374181 |
|---|---|
| RGB | rgb(55, 65, 129) |
| HSL | hsl(232, 40%, 36%) |
| HSV | hsv(232, 57%, 51%) |
| CMYK | cmyk(57.4%, 49.6%, 0%, 49.4%) |
| CIE-LAB | lab(29.86, 16.11, -37.52) |
| CIE-LCH | lch(29.86, 40.83, 293.23°) |
| OKLab | oklab(40.14% 0.0073 -0.107) |
| OKLCH | oklch(40.14% 0.107 273.9) |
| XYZ | xyz(7.4270, 6.1773, 21.5656) |
| Luminance | 0.0618 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 4.70
Darkslateblue
#483D8B
ΔE00 4.78
Cobalt (survey)
#1E488F
ΔE00 5.76
Twilight
#4E518B
ΔE00 5.90
Darkish Blue
#014182
ΔE00 6.86
Dusk
#4E5481
ΔE00 7.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#374181 #817737
analogous
#376681 #374181 #523781
triadic
#374181 #813741 #418137
tetradic
#374181 #813766 #817737 #378152
square
#374181 #813766 #817737 #378152
split-complementary
#374181 #815237 #668137
monochromatic
#12162B #252B56 #374181 #4957AC #707BC2
Accessibility & contrast
On white
9.39
#374181 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#374181 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #374181
9.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##374181 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##374181 | 1.00 | 9.39 | 2.24 | 9.39 |
| #FFFFFF | 9.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#234A83
Deuteranopia (green-blind)
#194380
Tritanopia (blue-blind)
#0F4F5B
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #374181; /* rgb */ color: rgb(55, 65, 129); /* oklch */ color: oklch(40.1% 0.107 273.9);
Tailwind
colors: {
custom: {
50: '#7475a6',
500: '#374181',
950: '#000000',
},
}SCSS
$custom: #374181; $custom-light: #7475a6; $custom-dark: #000000;
JSON
{
"hex": "#374181",
"rgb": {
"r": 55,
"g": 65,
"b": 129
},
"hsl": {
"h": 231.892,
"s": 40.217,
"l": 36.078
},
"oklch": {
"l": 0.40141,
"c": 0.10727,
"h": 273.9
},
"luminance": 0.06178
}Semantic roles & 50–950 ramp
primary
#374181
secondary
#ABA269
accent
#C058D0
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#09080F
muted
#7B7B7F