#3874B1#3874B1
#3874B1 is a mid, moderate cyan. Relative luminance 0.165; OKLCH L 54.8% C 0.114 H 251.0°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #3874B1 |
|---|---|
| RGB | rgb(56, 116, 177) |
| HSL | hsl(210, 52%, 46%) |
| HSV | hsv(210, 68%, 69%) |
| CMYK | cmyk(68.4%, 34.5%, 0%, 30.6%) |
| CIE-LAB | lab(47.63, 0.71, -38.09) |
| CIE-LCH | lch(47.63, 38.10, 271.07°) |
| OKLab | oklab(54.8% -0.0372 -0.108) |
| OKLCH | oklch(54.8% 0.114 251) |
| XYZ | xyz(15.8091, 16.5042, 43.9389) |
| Luminance | 0.1651 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Flat Blue
#3C73A8
ΔE00 1.13
Bluish
#2976BB
ΔE00 1.68
Windows Blue
#3778BF
ΔE00 2.10
Medium Blue
#2C6FBB
ΔE00 2.13
Muted Blue
#3B719F
ΔE00 2.63
Dull Blue
#49759C
ΔE00 3.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3874B1 #B17538
analogous
#38B0B1 #3874B1 #3938B1
triadic
#3874B1 #B13874 #74B138
tetradic
#3874B1 #B138B0 #B17538 #38B139
square
#3874B1 #B138B0 #B17538 #38B139
split-complementary
#3874B1 #B13938 #B0B138
monochromatic
#1B3754 #295683 #3874B1 #5B93CB #8AB1DA
Accessibility & contrast
On white
4.88
#3874B1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.30
#3874B1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3874B1
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3874B1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3874B1 | 1.00 | 4.88 | 4.30 | 4.88 |
| #FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5977B4
Deuteranopia (green-blind)
#486CB0
Tritanopia (blue-blind)
#00828A
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #3874b1; /* rgb */ color: rgb(56, 116, 177); /* oklch */ color: oklch(54.8% 0.114 251.0);
Tailwind
colors: {
custom: {
50: '#7c9bc8',
500: '#3874b1',
950: '#000000',
},
}SCSS
$custom: #3874b1; $custom-light: #7c9bc8; $custom-dark: #000000;
JSON
{
"hex": "#3874b1",
"rgb": {
"r": 56,
"g": 116,
"b": 177
},
"hsl": {
"h": 210.248,
"s": 51.931,
"l": 45.686
},
"oklch": {
"l": 0.54797,
"c": 0.11425,
"h": 251
},
"luminance": 0.16506
}Semantic roles & 50–950 ramp
primary
#3874B1
secondary
#C4A381
accent
#944CDB
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0E13
muted
#7C7E82