#3874B5#3874B5
#3874B5 is a mid, moderate cyan. Relative luminance 0.167; OKLCH L 55.0% C 0.119 H 252.4°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #3874B5 |
|---|---|
| RGB | rgb(56, 116, 181) |
| HSL | hsl(211, 53%, 46%) |
| HSV | hsv(211, 69%, 71%) |
| CMYK | cmyk(69.1%, 35.9%, 0%, 29%) |
| CIE-LAB | lab(47.84, 2.14, -40.08) |
| CIE-LCH | lch(47.84, 40.14, 273.06°) |
| OKLab | oklab(55.03% -0.0361 -0.1138) |
| OKLCH | oklch(55.03% 0.119 252.4) |
| XYZ | xyz(16.2137, 16.6660, 46.0695) |
| Luminance | 0.1667 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Flat Blue
#3C73A8
ΔE00 1.61
Windows Blue
#3778BF
ΔE00 1.79
Bluish
#2976BB
ΔE00 1.79
Medium Blue
#2C6FBB
ΔE00 1.91
Muted Blue
#3B719F
ΔE00 3.12
Mid Blue
#276AB3
ΔE00 3.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3874B5 #B57938
analogous
#38B3B5 #3874B5 #3B38B5
triadic
#3874B5 #B53874 #74B538
tetradic
#3874B5 #B538B3 #B57938 #38B53B
square
#3874B5 #B538B3 #B57938 #38B53B
split-complementary
#3874B5 #B53B38 #B3B538
monochromatic
#1B3858 #2A5686 #3874B5 #5D93CD #8CB2DB
Accessibility & contrast
On white
4.85
#3874B5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.33
#3874B5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3874B5
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3874B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3874B5 | 1.00 | 4.85 | 4.33 | 4.85 |
| #FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5778B8
Deuteranopia (green-blind)
#456CB4
Tritanopia (blue-blind)
#00838C
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #3874b5; /* rgb */ color: rgb(56, 116, 181); /* oklch */ color: oklch(55.0% 0.119 252.4);
Tailwind
colors: {
custom: {
50: '#7d9bcb',
500: '#3874b5',
950: '#000000',
},
}SCSS
$custom: #3874b5; $custom-light: #7d9bcb; $custom-dark: #000000;
JSON
{
"hex": "#3874b5",
"rgb": {
"r": 56,
"g": 116,
"b": 181
},
"hsl": {
"h": 211.2,
"s": 52.743,
"l": 46.471
},
"oklch": {
"l": 0.55027,
"c": 0.11943,
"h": 252.4
},
"luminance": 0.16668
}Semantic roles & 50–950 ramp
primary
#3874B5
secondary
#C6A683
accent
#974CDC
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0E13
muted
#7C7E82