#3874B2#3874B2
#3874B2 is a mid, moderate cyan. Relative luminance 0.165; OKLCH L 54.9% C 0.116 H 251.4°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #3874B2 |
|---|---|
| RGB | rgb(56, 116, 178) |
| HSL | hsl(210, 52%, 46%) |
| HSV | hsv(210, 69%, 70%) |
| CMYK | cmyk(68.5%, 34.8%, 0%, 30.2%) |
| CIE-LAB | lab(47.68, 1.07, -38.59) |
| CIE-LCH | lch(47.68, 38.60, 271.59°) |
| OKLab | oklab(54.85% -0.0369 -0.1095) |
| OKLCH | oklch(54.85% 0.116 251.4) |
| XYZ | xyz(15.9092, 16.5442, 44.4658) |
| Luminance | 0.1655 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Flat Blue
#3C73A8
ΔE00 1.25
Bluish
#2976BB
ΔE00 1.69
Windows Blue
#3778BF
ΔE00 2.01
Medium Blue
#2C6FBB
ΔE00 2.05
Muted Blue
#3B719F
ΔE00 2.75
Dull Blue
#49759C
ΔE00 3.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3874B2 #B27638
analogous
#38B1B2 #3874B2 #3938B2
triadic
#3874B2 #B23874 #74B238
tetradic
#3874B2 #B238B1 #B27638 #38B239
square
#3874B2 #B238B1 #B27638 #38B239
split-complementary
#3874B2 #B23938 #B1B238
monochromatic
#1B3755 #295683 #3874B2 #5C93CC #8AB2DA
Accessibility & contrast
On white
4.87
#3874B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.31
#3874B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3874B2
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3874B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3874B2 | 1.00 | 4.87 | 4.31 | 4.87 |
| #FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5877B5
Deuteranopia (green-blind)
#476CB1
Tritanopia (blue-blind)
#00838B
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #3874b2; /* rgb */ color: rgb(56, 116, 178); /* oklch */ color: oklch(54.9% 0.116 251.4);
Tailwind
colors: {
custom: {
50: '#7c9bc9',
500: '#3874b2',
950: '#000000',
},
}SCSS
$custom: #3874b2; $custom-light: #7c9bc9; $custom-dark: #000000;
JSON
{
"hex": "#3874b2",
"rgb": {
"r": 56,
"g": 116,
"b": 178
},
"hsl": {
"h": 210.492,
"s": 52.137,
"l": 45.882
},
"oklch": {
"l": 0.54854,
"c": 0.11554,
"h": 251.4
},
"luminance": 0.16546
}Semantic roles & 50–950 ramp
primary
#3874B2
secondary
#C5A381
accent
#954CDC
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0E13
muted
#7C7E82