#3872AF#3872AF
#3872AF is a mid, moderate cyan. Relative luminance 0.160; OKLCH L 54.2% C 0.114 H 251.7°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #3872AF |
|---|---|
| RGB | rgb(56, 114, 175) |
| HSL | hsl(211, 52%, 45%) |
| HSV | hsv(211, 68%, 69%) |
| CMYK | cmyk(68%, 34.9%, 0%, 31.4%) |
| CIE-LAB | lab(46.93, 1.22, -38.02) |
| CIE-LCH | lch(46.93, 38.04, 271.83°) |
| OKLab | oklab(54.22% -0.0357 -0.1079) |
| OKLCH | oklch(54.22% 0.114 251.7) |
| XYZ | xyz(15.3832, 15.9689, 42.8207) |
| Luminance | 0.1597 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Flat Blue
#3C73A8
ΔE00 1.04
Medium Blue
#2C6FBB
ΔE00 1.66
Bluish
#2976BB
ΔE00 2.31
Muted Blue
#3B719F
ΔE00 2.38
Windows Blue
#3778BF
ΔE00 2.75
Mid Blue
#276AB3
ΔE00 2.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3872AF #AF7538
analogous
#38ADAF #3872AF #3938AF
triadic
#3872AF #AF3872 #72AF38
tetradic
#3872AF #AF38AD #AF7538 #38AF39
square
#3872AF #AF38AD #AF7538 #38AF39
split-complementary
#3872AF #AF3938 #ADAF38
monochromatic
#1A3652 #295481 #3872AF #5A91CA #88B0D9
Accessibility & contrast
On white
5.01
#3872AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.19
#3872AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3872AF
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3872AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3872AF | 1.00 | 5.01 | 4.19 | 5.01 |
| #FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5775B2
Deuteranopia (green-blind)
#466AAE
Tritanopia (blue-blind)
#008088
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #3872af; /* rgb */ color: rgb(56, 114, 175); /* oklch */ color: oklch(54.2% 0.114 251.7);
Tailwind
colors: {
custom: {
50: '#7c9ac7',
500: '#3872af',
950: '#000000',
},
}SCSS
$custom: #3872af; $custom-light: #7c9ac7; $custom-dark: #000000;
JSON
{
"hex": "#3872af",
"rgb": {
"r": 56,
"g": 114,
"b": 175
},
"hsl": {
"h": 210.756,
"s": 51.515,
"l": 45.294
},
"oklch": {
"l": 0.54218,
"c": 0.11361,
"h": 251.7
},
"luminance": 0.15971
}Semantic roles & 50–950 ramp
primary
#3872AF
secondary
#C3A280
accent
#964DDB
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0E13
muted
#7C7E82